Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
glslang
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
glslang
Commits
deb4940c
Commit
deb4940c
authored
Sep 12, 2016
by
John Kessenich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
HLSL: Register all entry-point in/out as part of the interface.
This makes the interface be invariant, whether or not individual variables are used.
parent
b3e24e43
Hide whitespace changes
Inline
Side-by-side
Showing
98 changed files
with
448 additions
and
19 deletions
+448
-19
hlsl.array.frag.out
Test/baseResults/hlsl.array.frag.out
+6
-0
hlsl.assoc.frag.out
Test/baseResults/hlsl.assoc.frag.out
+12
-0
hlsl.attribute.frag.out
Test/baseResults/hlsl.attribute.frag.out
+10
-2
hlsl.buffer.frag.out
Test/baseResults/hlsl.buffer.frag.out
+4
-0
hlsl.calculatelod.dx10.frag.out
Test/baseResults/hlsl.calculatelod.dx10.frag.out
+2
-0
hlsl.calculatelodunclamped.dx10.frag.out
Test/baseResults/hlsl.calculatelodunclamped.dx10.frag.out
+2
-0
hlsl.cast.frag.out
Test/baseResults/hlsl.cast.frag.out
+4
-0
hlsl.conditional.frag.out
Test/baseResults/hlsl.conditional.frag.out
+4
-0
hlsl.constructexpr.frag.out
Test/baseResults/hlsl.constructexpr.frag.out
+2
-0
hlsl.depthGreater.frag.out
Test/baseResults/hlsl.depthGreater.frag.out
+2
-0
hlsl.depthLess.frag.out
Test/baseResults/hlsl.depthLess.frag.out
+2
-0
hlsl.discard.frag.out
Test/baseResults/hlsl.discard.frag.out
+2
-0
hlsl.doLoop.frag.out
Test/baseResults/hlsl.doLoop.frag.out
+4
-0
hlsl.entry-out.frag.out
Test/baseResults/hlsl.entry-out.frag.out
+10
-0
hlsl.forLoop.frag.out
Test/baseResults/hlsl.forLoop.frag.out
+4
-0
hlsl.gather.array.dx10.frag.out
Test/baseResults/hlsl.gather.array.dx10.frag.out
+2
-0
hlsl.gather.basic.dx10.frag.out
Test/baseResults/hlsl.gather.basic.dx10.frag.out
+2
-0
hlsl.gather.basic.dx10.vert.out
Test/baseResults/hlsl.gather.basic.dx10.vert.out
+2
-0
hlsl.gather.offset.dx10.frag.out
Test/baseResults/hlsl.gather.offset.dx10.frag.out
+2
-0
hlsl.gather.offsetarray.dx10.frag.out
Test/baseResults/hlsl.gather.offsetarray.dx10.frag.out
+2
-0
hlsl.gatherRGBA.array.dx10.frag.out
Test/baseResults/hlsl.gatherRGBA.array.dx10.frag.out
+2
-0
hlsl.gatherRGBA.basic.dx10.frag.out
Test/baseResults/hlsl.gatherRGBA.basic.dx10.frag.out
+2
-0
hlsl.gatherRGBA.offset.dx10.frag.out
Test/baseResults/hlsl.gatherRGBA.offset.dx10.frag.out
+2
-0
hlsl.gatherRGBA.offsetarray.dx10.frag.out
Test/baseResults/hlsl.gatherRGBA.offsetarray.dx10.frag.out
+2
-0
hlsl.getdimensions.dx10.frag.out
Test/baseResults/hlsl.getdimensions.dx10.frag.out
+2
-0
hlsl.getdimensions.dx10.vert.out
Test/baseResults/hlsl.getdimensions.dx10.vert.out
+2
-0
hlsl.getsampleposition.dx10.frag.out
Test/baseResults/hlsl.getsampleposition.dx10.frag.out
+2
-0
hlsl.if.frag.out
Test/baseResults/hlsl.if.frag.out
+4
-0
hlsl.init.frag.out
Test/baseResults/hlsl.init.frag.out
+4
-0
hlsl.init2.frag.out
Test/baseResults/hlsl.init2.frag.out
+2
-0
hlsl.inoutquals.frag.out
Test/baseResults/hlsl.inoutquals.frag.out
+4
-0
hlsl.intrinsics.barriers.comp.out
Test/baseResults/hlsl.intrinsics.barriers.comp.out
+2
-0
hlsl.intrinsics.comp.out
Test/baseResults/hlsl.intrinsics.comp.out
+27
-2
hlsl.intrinsics.double.frag.out
Test/baseResults/hlsl.intrinsics.double.frag.out
+35
-2
hlsl.intrinsics.evalfns.frag.out
Test/baseResults/hlsl.intrinsics.evalfns.frag.out
+10
-0
hlsl.intrinsics.f1632.frag.out
Test/baseResults/hlsl.intrinsics.f1632.frag.out
+4
-0
hlsl.intrinsics.frag.out
Test/baseResults/hlsl.intrinsics.frag.out
+2
-0
hlsl.intrinsics.lit.frag.out
Test/baseResults/hlsl.intrinsics.lit.frag.out
+6
-0
hlsl.intrinsics.negative.comp.out
Test/baseResults/hlsl.intrinsics.negative.comp.out
+27
-2
hlsl.intrinsics.negative.frag.out
Test/baseResults/hlsl.intrinsics.negative.frag.out
+10
-0
hlsl.intrinsics.negative.vert.out
Test/baseResults/hlsl.intrinsics.negative.vert.out
+27
-2
hlsl.load.2dms.dx10.frag.out
Test/baseResults/hlsl.load.2dms.dx10.frag.out
+2
-0
hlsl.load.array.dx10.frag.out
Test/baseResults/hlsl.load.array.dx10.frag.out
+2
-0
hlsl.load.basic.dx10.frag.out
Test/baseResults/hlsl.load.basic.dx10.frag.out
+2
-0
hlsl.load.basic.dx10.vert.out
Test/baseResults/hlsl.load.basic.dx10.vert.out
+2
-0
hlsl.load.buffer.dx10.frag.out
Test/baseResults/hlsl.load.buffer.dx10.frag.out
+2
-0
hlsl.load.offset.dx10.frag.out
Test/baseResults/hlsl.load.offset.dx10.frag.out
+2
-0
hlsl.load.offsetarray.dx10.frag.out
Test/baseResults/hlsl.load.offsetarray.dx10.frag.out
+2
-0
hlsl.matrixindex.frag.out
Test/baseResults/hlsl.matrixindex.frag.out
+2
-0
hlsl.max.frag.out
Test/baseResults/hlsl.max.frag.out
+6
-0
hlsl.multiEntry.vert.out
Test/baseResults/hlsl.multiEntry.vert.out
+4
-0
hlsl.numericsuffixes.frag.out
Test/baseResults/hlsl.numericsuffixes.frag.out
+2
-0
hlsl.overload.frag.out
Test/baseResults/hlsl.overload.frag.out
+4
-0
hlsl.pp.line.frag.out
Test/baseResults/hlsl.pp.line.frag.out
+2
-0
hlsl.precedence.frag.out
Test/baseResults/hlsl.precedence.frag.out
+10
-0
hlsl.precedence2.frag.out
Test/baseResults/hlsl.precedence2.frag.out
+10
-0
hlsl.precise.frag.out
Test/baseResults/hlsl.precise.frag.out
+2
-0
hlsl.promotions.frag.out
Test/baseResults/hlsl.promotions.frag.out
+2
-0
hlsl.sample.array.dx10.frag.out
Test/baseResults/hlsl.sample.array.dx10.frag.out
+2
-0
hlsl.sample.basic.dx10.frag.out
Test/baseResults/hlsl.sample.basic.dx10.frag.out
+2
-0
hlsl.sample.offset.dx10.frag.out
Test/baseResults/hlsl.sample.offset.dx10.frag.out
+2
-0
hlsl.sample.offsetarray.dx10.frag.out
Test/baseResults/hlsl.sample.offsetarray.dx10.frag.out
+2
-0
hlsl.samplebias.array.dx10.frag.out
Test/baseResults/hlsl.samplebias.array.dx10.frag.out
+2
-0
hlsl.samplebias.basic.dx10.frag.out
Test/baseResults/hlsl.samplebias.basic.dx10.frag.out
+2
-0
hlsl.samplebias.offset.dx10.frag.out
Test/baseResults/hlsl.samplebias.offset.dx10.frag.out
+2
-0
hlsl.samplebias.offsetarray.dx10.frag.out
Test/baseResults/hlsl.samplebias.offsetarray.dx10.frag.out
+2
-0
hlsl.samplecmp.array.dx10.frag.out
Test/baseResults/hlsl.samplecmp.array.dx10.frag.out
+2
-0
hlsl.samplecmp.basic.dx10.frag.out
Test/baseResults/hlsl.samplecmp.basic.dx10.frag.out
+2
-0
hlsl.samplecmp.offset.dx10.frag.out
Test/baseResults/hlsl.samplecmp.offset.dx10.frag.out
+2
-0
hlsl.samplecmp.offsetarray.dx10.frag.out
Test/baseResults/hlsl.samplecmp.offsetarray.dx10.frag.out
+2
-0
hlsl.samplecmplevelzero.array.dx10.frag.out
Test/baseResults/hlsl.samplecmplevelzero.array.dx10.frag.out
+2
-0
hlsl.samplecmplevelzero.basic.dx10.frag.out
Test/baseResults/hlsl.samplecmplevelzero.basic.dx10.frag.out
+2
-0
hlsl.samplecmplevelzero.offset.dx10.frag.out
.../baseResults/hlsl.samplecmplevelzero.offset.dx10.frag.out
+2
-0
hlsl.samplecmplevelzero.offsetarray.dx10.frag.out
...Results/hlsl.samplecmplevelzero.offsetarray.dx10.frag.out
+2
-0
hlsl.samplegrad.array.dx10.frag.out
Test/baseResults/hlsl.samplegrad.array.dx10.frag.out
+2
-0
hlsl.samplegrad.basic.dx10.frag.out
Test/baseResults/hlsl.samplegrad.basic.dx10.frag.out
+2
-0
hlsl.samplegrad.basic.dx10.vert.out
Test/baseResults/hlsl.samplegrad.basic.dx10.vert.out
+2
-0
hlsl.samplegrad.offset.dx10.frag.out
Test/baseResults/hlsl.samplegrad.offset.dx10.frag.out
+2
-0
hlsl.samplegrad.offsetarray.dx10.frag.out
Test/baseResults/hlsl.samplegrad.offsetarray.dx10.frag.out
+2
-0
hlsl.samplelevel.array.dx10.frag.out
Test/baseResults/hlsl.samplelevel.array.dx10.frag.out
+2
-0
hlsl.samplelevel.basic.dx10.frag.out
Test/baseResults/hlsl.samplelevel.basic.dx10.frag.out
+2
-0
hlsl.samplelevel.basic.dx10.vert.out
Test/baseResults/hlsl.samplelevel.basic.dx10.vert.out
+2
-0
hlsl.samplelevel.offset.dx10.frag.out
Test/baseResults/hlsl.samplelevel.offset.dx10.frag.out
+2
-0
hlsl.samplelevel.offsetarray.dx10.frag.out
Test/baseResults/hlsl.samplelevel.offsetarray.dx10.frag.out
+2
-0
hlsl.scope.frag.out
Test/baseResults/hlsl.scope.frag.out
+9
-2
hlsl.semicolons.frag.out
Test/baseResults/hlsl.semicolons.frag.out
+2
-0
hlsl.sin.frag.out
Test/baseResults/hlsl.sin.frag.out
+4
-0
hlsl.stringtoken.frag.out
Test/baseResults/hlsl.stringtoken.frag.out
+2
-0
hlsl.struct.frag.out
Test/baseResults/hlsl.struct.frag.out
+4
-0
hlsl.structin.vert.out
Test/baseResults/hlsl.structin.vert.out
+10
-0
hlsl.switch.frag.out
Test/baseResults/hlsl.switch.frag.out
+8
-0
hlsl.templatetypes.frag.out
Test/baseResults/hlsl.templatetypes.frag.out
+2
-0
hlsl.void.frag.out
Test/baseResults/hlsl.void.frag.out
+10
-2
hlsl.whileLoop.frag.out
Test/baseResults/hlsl.whileLoop.frag.out
+4
-0
remap.hlsl.templatetypes.everything.frag.out
.../baseResults/remap.hlsl.templatetypes.everything.frag.out
+7
-1
remap.hlsl.templatetypes.none.frag.out
Test/baseResults/remap.hlsl.templatetypes.none.frag.out
+9
-2
revision.h
glslang/Include/revision.h
+2
-2
hlslParseHelper.cpp
hlsl/hlslParseHelper.cpp
+7
-0
No files found.
Test/baseResults/hlsl.array.frag.out
View file @
deb4940c
...
@@ -49,6 +49,9 @@ gl_FragCoord origin is upper left
...
@@ -49,6 +49,9 @@ gl_FragCoord origin is upper left
0:? Linker Objects
0:? Linker Objects
0:? 'a' (global 4-element array of 4-component vector of float)
0:? 'a' (global 4-element array of 4-component vector of float)
0:? 's' (global 11-element array of structure{temp 7-element array of 4-component vector of float m})
0:? 's' (global 11-element array of structure{temp 7-element array of 4-component vector of float m})
0:? '@entryPointOutput' (out 4-component vector of float)
0:? 'i' (layout(location=0 ) in int)
0:? 'input' (layout(location=1 ) in 3-element array of 4-component vector of float)
Linked fragment stage:
Linked fragment stage:
...
@@ -104,6 +107,9 @@ gl_FragCoord origin is upper left
...
@@ -104,6 +107,9 @@ gl_FragCoord origin is upper left
0:? Linker Objects
0:? Linker Objects
0:? 'a' (global 4-element array of 4-component vector of float)
0:? 'a' (global 4-element array of 4-component vector of float)
0:? 's' (global 11-element array of structure{temp 7-element array of 4-component vector of float m})
0:? 's' (global 11-element array of structure{temp 7-element array of 4-component vector of float m})
0:? '@entryPointOutput' (out 4-component vector of float)
0:? 'i' (layout(location=0 ) in int)
0:? 'input' (layout(location=1 ) in 3-element array of 4-component vector of float)
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.assoc.frag.out
View file @
deb4940c
...
@@ -33,6 +33,12 @@ gl_FragCoord origin is upper left
...
@@ -33,6 +33,12 @@ gl_FragCoord origin is upper left
0:10 'a5' (layout(location=4 ) in 4-component vector of float)
0:10 'a5' (layout(location=4 ) in 4-component vector of float)
0:10 Branch: Return
0:10 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out 4-component vector of float)
0:? 'a1' (layout(location=0 ) in 4-component vector of float)
0:? 'a2' (layout(location=1 ) in 4-component vector of float)
0:? 'a3' (layout(location=2 ) in 4-component vector of float)
0:? 'a4' (layout(location=3 ) in 4-component vector of float)
0:? 'a5' (layout(location=4 ) in 4-component vector of float)
Linked fragment stage:
Linked fragment stage:
...
@@ -72,6 +78,12 @@ gl_FragCoord origin is upper left
...
@@ -72,6 +78,12 @@ gl_FragCoord origin is upper left
0:10 'a5' (layout(location=4 ) in 4-component vector of float)
0:10 'a5' (layout(location=4 ) in 4-component vector of float)
0:10 Branch: Return
0:10 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out 4-component vector of float)
0:? 'a1' (layout(location=0 ) in 4-component vector of float)
0:? 'a2' (layout(location=1 ) in 4-component vector of float)
0:? 'a3' (layout(location=2 ) in 4-component vector of float)
0:? 'a4' (layout(location=3 ) in 4-component vector of float)
0:? 'a5' (layout(location=4 ) in 4-component vector of float)
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.attribute.frag.out
View file @
deb4940c
...
@@ -12,6 +12,7 @@ gl_FragCoord origin is upper left
...
@@ -12,6 +12,7 @@ gl_FragCoord origin is upper left
0:11 0 (const int)
0:11 0 (const int)
0:11 true case is null
0:11 true case is null
0:? Linker Objects
0:? Linker Objects
0:? 'input' (layout(location=0 ) in 4-component vector of float)
Linked fragment stage:
Linked fragment stage:
...
@@ -30,21 +31,28 @@ gl_FragCoord origin is upper left
...
@@ -30,21 +31,28 @@ gl_FragCoord origin is upper left
0:11 0 (const int)
0:11 0 (const int)
0:11 true case is null
0:11 true case is null
0:? Linker Objects
0:? Linker Objects
0:? 'input' (layout(location=0 ) in 4-component vector of float)
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
// Id's are bound by 1
0
// Id's are bound by 1
4
Capability Shader
Capability Shader
1: ExtInstImport "GLSL.std.450"
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "PixelShaderFunction"
EntryPoint Fragment 4 "PixelShaderFunction"
13
ExecutionMode 4 OriginUpperLeft
ExecutionMode 4 OriginUpperLeft
Name 4 "PixelShaderFunction"
Name 4 "PixelShaderFunction"
Name 13 "input"
Decorate 13(input) Location 0
2: TypeVoid
2: TypeVoid
3: TypeFunction 2
3: TypeFunction 2
6: TypeInt 32 1
6: TypeInt 32 1
7: 6(int) Constant 0
7: 6(int) Constant 0
10: TypeFloat 32
11: TypeVector 10(float) 4
12: TypePointer Input 11(fvec4)
13(input): 12(ptr) Variable Input
4(PixelShaderFunction): 2 Function None 3
4(PixelShaderFunction): 2 Function None 3
5: Label
5: Label
SelectionMerge 9 None
SelectionMerge 9 None
...
...
Test/baseResults/hlsl.buffer.frag.out
View file @
deb4940c
...
@@ -36,6 +36,8 @@ gl_FragCoord origin is upper left
...
@@ -36,6 +36,8 @@ gl_FragCoord origin is upper left
0:? 'anon@1' (layout(column_major std430 ) buffer block{layout(column_major std430 ) buffer 4-component vector of float v2})
0:? 'anon@1' (layout(column_major std430 ) buffer block{layout(column_major std430 ) buffer 4-component vector of float v2})
0:? 'anon@2' (layout(set=10 binding=2 column_major std140 ) uniform block{layout(column_major std140 ) uniform 4-component vector of float v3, layout(column_major std140 offset=20 ) uniform int i3})
0:? 'anon@2' (layout(set=10 binding=2 column_major std140 ) uniform block{layout(column_major std140 ) uniform 4-component vector of float v3, layout(column_major std140 offset=20 ) uniform int i3})
0:? 'anon@3' (layout(binding=8 column_major std430 ) buffer block{layout(column_major std430 offset=16 ) buffer 4-component vector of float v4, layout(column_major std430 offset=48 ) buffer int i4, layout(column_major std430 offset=60 ) buffer float f1, layout(column_major std430 offset=64 ) buffer float f3, layout(column_major std430 offset=68 ) buffer float f4, layout(column_major std430 offset=72 ) buffer float f5, layout(column_major std430 ) buffer float f6, layout(column_major std430 ) buffer float f7})
0:? 'anon@3' (layout(binding=8 column_major std430 ) buffer block{layout(column_major std430 offset=16 ) buffer 4-component vector of float v4, layout(column_major std430 offset=48 ) buffer int i4, layout(column_major std430 offset=60 ) buffer float f1, layout(column_major std430 offset=64 ) buffer float f3, layout(column_major std430 offset=68 ) buffer float f4, layout(column_major std430 offset=72 ) buffer float f5, layout(column_major std430 ) buffer float f6, layout(column_major std430 ) buffer float f7})
0:? '@entryPointOutput' (out 4-component vector of float)
0:? 'input' (layout(location=0 ) in 4-component vector of float)
Linked fragment stage:
Linked fragment stage:
...
@@ -78,6 +80,8 @@ gl_FragCoord origin is upper left
...
@@ -78,6 +80,8 @@ gl_FragCoord origin is upper left
0:? 'anon@1' (layout(column_major std430 ) buffer block{layout(column_major std430 ) buffer 4-component vector of float v2})
0:? 'anon@1' (layout(column_major std430 ) buffer block{layout(column_major std430 ) buffer 4-component vector of float v2})
0:? 'anon@2' (layout(set=10 binding=2 column_major std140 ) uniform block{layout(column_major std140 ) uniform 4-component vector of float v3, layout(column_major std140 offset=20 ) uniform int i3})
0:? 'anon@2' (layout(set=10 binding=2 column_major std140 ) uniform block{layout(column_major std140 ) uniform 4-component vector of float v3, layout(column_major std140 offset=20 ) uniform int i3})
0:? 'anon@3' (layout(binding=8 column_major std430 ) buffer block{layout(column_major std430 offset=16 ) buffer 4-component vector of float v4, layout(column_major std430 offset=48 ) buffer int i4, layout(column_major std430 offset=60 ) buffer float f1, layout(column_major std430 offset=64 ) buffer float f3, layout(column_major std430 offset=68 ) buffer float f4, layout(column_major std430 offset=72 ) buffer float f5, layout(column_major std430 ) buffer float f6, layout(column_major std430 ) buffer float f7})
0:? 'anon@3' (layout(binding=8 column_major std430 ) buffer block{layout(column_major std430 offset=16 ) buffer 4-component vector of float v4, layout(column_major std430 offset=48 ) buffer int i4, layout(column_major std430 offset=60 ) buffer float f1, layout(column_major std430 offset=64 ) buffer float f3, layout(column_major std430 offset=68 ) buffer float f4, layout(column_major std430 offset=72 ) buffer float f5, layout(column_major std430 ) buffer float f6, layout(column_major std430 ) buffer float f7})
0:? '@entryPointOutput' (out 4-component vector of float)
0:? 'input' (layout(location=0 ) in 4-component vector of float)
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.calculatelod.dx10.frag.out
View file @
deb4940c
...
@@ -156,6 +156,7 @@ gl_FragCoord origin is upper left
...
@@ -156,6 +156,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
Linked fragment stage:
Linked fragment stage:
...
@@ -318,6 +319,7 @@ gl_FragCoord origin is upper left
...
@@ -318,6 +319,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.calculatelodunclamped.dx10.frag.out
View file @
deb4940c
...
@@ -168,6 +168,7 @@ ERROR: node is still EOpNull!
...
@@ -168,6 +168,7 @@ ERROR: node is still EOpNull!
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
Linked fragment stage:
Linked fragment stage:
...
@@ -330,5 +331,6 @@ ERROR: node is still EOpNull!
...
@@ -330,5 +331,6 @@ ERROR: node is still EOpNull!
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
SPIR-V is not generated for failed compile or link
SPIR-V is not generated for failed compile or link
Test/baseResults/hlsl.cast.frag.out
View file @
deb4940c
...
@@ -23,6 +23,8 @@ gl_FragCoord origin is upper left
...
@@ -23,6 +23,8 @@ gl_FragCoord origin is upper left
0:3 1.198000
0:3 1.198000
0:3 Branch: Return
0:3 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out 4-component vector of float)
0:? 'input' (layout(location=0 ) in 4-component vector of float)
Linked fragment stage:
Linked fragment stage:
...
@@ -52,6 +54,8 @@ gl_FragCoord origin is upper left
...
@@ -52,6 +54,8 @@ gl_FragCoord origin is upper left
0:3 1.198000
0:3 1.198000
0:3 Branch: Return
0:3 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out 4-component vector of float)
0:? 'input' (layout(location=0 ) in 4-component vector of float)
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.conditional.frag.out
View file @
deb4940c
...
@@ -109,6 +109,8 @@ gl_FragCoord origin is upper left
...
@@ -109,6 +109,8 @@ gl_FragCoord origin is upper left
0:15 'f' (temp 4-component vector of float)
0:15 'f' (temp 4-component vector of float)
0:15 Branch: Return
0:15 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out 4-component vector of float)
0:? 'input' (layout(location=0 ) in 4-component vector of float)
Linked fragment stage:
Linked fragment stage:
...
@@ -224,6 +226,8 @@ gl_FragCoord origin is upper left
...
@@ -224,6 +226,8 @@ gl_FragCoord origin is upper left
0:15 'f' (temp 4-component vector of float)
0:15 'f' (temp 4-component vector of float)
0:15 Branch: Return
0:15 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out 4-component vector of float)
0:? 'input' (layout(location=0 ) in 4-component vector of float)
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.constructexpr.frag.out
View file @
deb4940c
...
@@ -40,6 +40,7 @@ gl_FragCoord origin is upper left
...
@@ -40,6 +40,7 @@ gl_FragCoord origin is upper left
0:16 'ps_output' (temp structure{temp 4-component vector of float color})
0:16 'ps_output' (temp structure{temp 4-component vector of float color})
0:16 Branch: Return
0:16 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out structure{temp 4-component vector of float color})
Linked fragment stage:
Linked fragment stage:
...
@@ -86,6 +87,7 @@ gl_FragCoord origin is upper left
...
@@ -86,6 +87,7 @@ gl_FragCoord origin is upper left
0:16 'ps_output' (temp structure{temp 4-component vector of float color})
0:16 'ps_output' (temp structure{temp 4-component vector of float color})
0:16 Branch: Return
0:16 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out structure{temp 4-component vector of float color})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.depthGreater.frag.out
View file @
deb4940c
...
@@ -12,6 +12,7 @@ using depth_greater
...
@@ -12,6 +12,7 @@ using depth_greater
0:3 Constant:
0:3 Constant:
0:3 0.200000
0:3 0.200000
0:? Linker Objects
0:? Linker Objects
0:? 'depth' (out float FragDepth)
Linked fragment stage:
Linked fragment stage:
...
@@ -30,6 +31,7 @@ using depth_greater
...
@@ -30,6 +31,7 @@ using depth_greater
0:3 Constant:
0:3 Constant:
0:3 0.200000
0:3 0.200000
0:? Linker Objects
0:? Linker Objects
0:? 'depth' (out float FragDepth)
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.depthLess.frag.out
View file @
deb4940c
...
@@ -13,6 +13,7 @@ using depth_less
...
@@ -13,6 +13,7 @@ using depth_less
0:3 0.200000
0:3 0.200000
0:3 Branch: Return
0:3 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out float unknown built-in variable)
Linked fragment stage:
Linked fragment stage:
...
@@ -32,6 +33,7 @@ using depth_less
...
@@ -32,6 +33,7 @@ using depth_less
0:3 0.200000
0:3 0.200000
0:3 Branch: Return
0:3 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out float unknown built-in variable)
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.discard.frag.out
View file @
deb4940c
...
@@ -40,6 +40,7 @@ gl_FragCoord origin is upper left
...
@@ -40,6 +40,7 @@ gl_FragCoord origin is upper left
0:12 0 (const int)
0:12 0 (const int)
0:13 Branch: Kill
0:13 Branch: Kill
0:? Linker Objects
0:? Linker Objects
0:? 'input' (layout(location=0 ) in 4-component vector of float)
Linked fragment stage:
Linked fragment stage:
...
@@ -86,6 +87,7 @@ gl_FragCoord origin is upper left
...
@@ -86,6 +87,7 @@ gl_FragCoord origin is upper left
0:12 0 (const int)
0:12 0 (const int)
0:13 Branch: Kill
0:13 Branch: Kill
0:? Linker Objects
0:? Linker Objects
0:? 'input' (layout(location=0 ) in 4-component vector of float)
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.doLoop.frag.out
View file @
deb4940c
...
@@ -28,6 +28,8 @@ gl_FragCoord origin is upper left
...
@@ -28,6 +28,8 @@ gl_FragCoord origin is upper left
0:5 'input' (layout(location=0 ) in 4-component vector of float)
0:5 'input' (layout(location=0 ) in 4-component vector of float)
0:5 Branch: Return
0:5 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out 4-component vector of float)
0:? 'input' (layout(location=0 ) in 4-component vector of float)
Linked fragment stage:
Linked fragment stage:
...
@@ -62,6 +64,8 @@ gl_FragCoord origin is upper left
...
@@ -62,6 +64,8 @@ gl_FragCoord origin is upper left
0:5 'input' (layout(location=0 ) in 4-component vector of float)
0:5 'input' (layout(location=0 ) in 4-component vector of float)
0:5 Branch: Return
0:5 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out 4-component vector of float)
0:? 'input' (layout(location=0 ) in 4-component vector of float)
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.entry-out.frag.out
View file @
deb4940c
...
@@ -27,6 +27,11 @@ gl_FragCoord origin is upper left
...
@@ -27,6 +27,11 @@ gl_FragCoord origin is upper left
0:11 'out1' (layout(location=1 ) out 4-component vector of float)
0:11 'out1' (layout(location=1 ) out 4-component vector of float)
0:11 Branch: Return
0:11 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out 4-component vector of float)
0:? 'input' (layout(location=0 ) in 4-component vector of float)
0:? 'out1' (layout(location=1 ) out 4-component vector of float)
0:? 'v' (layout(location=2 ) out 2-component vector of float)
0:? 'i' (layout(location=3 ) out 2-component vector of int)
Linked fragment stage:
Linked fragment stage:
...
@@ -60,6 +65,11 @@ gl_FragCoord origin is upper left
...
@@ -60,6 +65,11 @@ gl_FragCoord origin is upper left
0:11 'out1' (layout(location=1 ) out 4-component vector of float)
0:11 'out1' (layout(location=1 ) out 4-component vector of float)
0:11 Branch: Return
0:11 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out 4-component vector of float)
0:? 'input' (layout(location=0 ) in 4-component vector of float)
0:? 'out1' (layout(location=1 ) out 4-component vector of float)
0:? 'v' (layout(location=2 ) out 2-component vector of float)
0:? 'i' (layout(location=3 ) out 2-component vector of int)
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.forLoop.frag.out
View file @
deb4940c
...
@@ -114,6 +114,8 @@ gl_FragCoord origin is upper left
...
@@ -114,6 +114,8 @@ gl_FragCoord origin is upper left
0:12 Pre-Decrement (temp float)
0:12 Pre-Decrement (temp float)
0:12 'ii' (temp float)
0:12 'ii' (temp float)
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out 4-component vector of float)
0:? 'input' (layout(location=0 ) in 4-component vector of float)
Linked fragment stage:
Linked fragment stage:
...
@@ -234,6 +236,8 @@ gl_FragCoord origin is upper left
...
@@ -234,6 +236,8 @@ gl_FragCoord origin is upper left
0:12 Pre-Decrement (temp float)
0:12 Pre-Decrement (temp float)
0:12 'ii' (temp float)
0:12 'ii' (temp float)
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out 4-component vector of float)
0:? 'input' (layout(location=0 ) in 4-component vector of float)
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.gather.array.dx10.frag.out
View file @
deb4940c
...
@@ -108,6 +108,7 @@ gl_FragCoord origin is upper left
...
@@ -108,6 +108,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
Linked fragment stage:
Linked fragment stage:
...
@@ -222,6 +223,7 @@ gl_FragCoord origin is upper left
...
@@ -222,6 +223,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.gather.basic.dx10.frag.out
View file @
deb4940c
...
@@ -106,6 +106,7 @@ gl_FragCoord origin is upper left
...
@@ -106,6 +106,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
Linked fragment stage:
Linked fragment stage:
...
@@ -218,6 +219,7 @@ gl_FragCoord origin is upper left
...
@@ -218,6 +219,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.gather.basic.dx10.vert.out
View file @
deb4940c
...
@@ -98,6 +98,7 @@ Shader version: 450
...
@@ -98,6 +98,7 @@ Shader version: 450
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Position Pos})
Linked vertex stage:
Linked vertex stage:
...
@@ -202,6 +203,7 @@ Shader version: 450
...
@@ -202,6 +203,7 @@ Shader version: 450
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Position Pos})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.gather.offset.dx10.frag.out
View file @
deb4940c
...
@@ -81,6 +81,7 @@ gl_FragCoord origin is upper left
...
@@ -81,6 +81,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
Linked fragment stage:
Linked fragment stage:
...
@@ -168,6 +169,7 @@ gl_FragCoord origin is upper left
...
@@ -168,6 +169,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.gather.offsetarray.dx10.frag.out
View file @
deb4940c
...
@@ -78,6 +78,7 @@ gl_FragCoord origin is upper left
...
@@ -78,6 +78,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTex2df4' (uniform texture2DArray)
0:? 'g_tTex2df4' (uniform texture2DArray)
0:? 'g_tTex2di4' (uniform itexture2DArray)
0:? 'g_tTex2di4' (uniform itexture2DArray)
0:? 'g_tTex2du4' (uniform utexture2DArray)
0:? 'g_tTex2du4' (uniform utexture2DArray)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
Linked fragment stage:
Linked fragment stage:
...
@@ -162,6 +163,7 @@ gl_FragCoord origin is upper left
...
@@ -162,6 +163,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTex2df4' (uniform texture2DArray)
0:? 'g_tTex2df4' (uniform texture2DArray)
0:? 'g_tTex2di4' (uniform itexture2DArray)
0:? 'g_tTex2di4' (uniform itexture2DArray)
0:? 'g_tTex2du4' (uniform utexture2DArray)
0:? 'g_tTex2du4' (uniform utexture2DArray)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.gatherRGBA.array.dx10.frag.out
View file @
deb4940c
...
@@ -283,6 +283,7 @@ gl_FragCoord origin is upper left
...
@@ -283,6 +283,7 @@ gl_FragCoord origin is upper left
0:? 'c2' (uniform 2-component vector of float)
0:? 'c2' (uniform 2-component vector of float)
0:? 'c3' (uniform 3-component vector of float)
0:? 'c3' (uniform 3-component vector of float)
0:? 'c4' (uniform 4-component vector of float)
0:? 'c4' (uniform 4-component vector of float)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
Linked fragment stage:
Linked fragment stage:
...
@@ -572,6 +573,7 @@ gl_FragCoord origin is upper left
...
@@ -572,6 +573,7 @@ gl_FragCoord origin is upper left
0:? 'c2' (uniform 2-component vector of float)
0:? 'c2' (uniform 2-component vector of float)
0:? 'c3' (uniform 3-component vector of float)
0:? 'c3' (uniform 3-component vector of float)
0:? 'c4' (uniform 4-component vector of float)
0:? 'c4' (uniform 4-component vector of float)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.gatherRGBA.basic.dx10.frag.out
View file @
deb4940c
...
@@ -287,6 +287,7 @@ gl_FragCoord origin is upper left
...
@@ -287,6 +287,7 @@ gl_FragCoord origin is upper left
0:? 'c2' (uniform 2-component vector of float)
0:? 'c2' (uniform 2-component vector of float)
0:? 'c3' (uniform 3-component vector of float)
0:? 'c3' (uniform 3-component vector of float)
0:? 'c4' (uniform 4-component vector of float)
0:? 'c4' (uniform 4-component vector of float)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
Linked fragment stage:
Linked fragment stage:
...
@@ -580,6 +581,7 @@ gl_FragCoord origin is upper left
...
@@ -580,6 +581,7 @@ gl_FragCoord origin is upper left
0:? 'c2' (uniform 2-component vector of float)
0:? 'c2' (uniform 2-component vector of float)
0:? 'c3' (uniform 3-component vector of float)
0:? 'c3' (uniform 3-component vector of float)
0:? 'c4' (uniform 4-component vector of float)
0:? 'c4' (uniform 4-component vector of float)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.gatherRGBA.offset.dx10.frag.out
View file @
deb4940c
...
@@ -363,6 +363,7 @@ gl_FragCoord origin is upper left
...
@@ -363,6 +363,7 @@ gl_FragCoord origin is upper left
0:? 'o2' (uniform 2-component vector of int)
0:? 'o2' (uniform 2-component vector of int)
0:? 'o3' (uniform 3-component vector of int)
0:? 'o3' (uniform 3-component vector of int)
0:? 'o4' (uniform 4-component vector of int)
0:? 'o4' (uniform 4-component vector of int)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
Linked fragment stage:
Linked fragment stage:
...
@@ -732,6 +733,7 @@ gl_FragCoord origin is upper left
...
@@ -732,6 +733,7 @@ gl_FragCoord origin is upper left
0:? 'o2' (uniform 2-component vector of int)
0:? 'o2' (uniform 2-component vector of int)
0:? 'o3' (uniform 3-component vector of int)
0:? 'o3' (uniform 3-component vector of int)
0:? 'o4' (uniform 4-component vector of int)
0:? 'o4' (uniform 4-component vector of int)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.gatherRGBA.offsetarray.dx10.frag.out
View file @
deb4940c
...
@@ -359,6 +359,7 @@ gl_FragCoord origin is upper left
...
@@ -359,6 +359,7 @@ gl_FragCoord origin is upper left
0:? 'o2' (uniform 2-component vector of int)
0:? 'o2' (uniform 2-component vector of int)
0:? 'o3' (uniform 3-component vector of int)
0:? 'o3' (uniform 3-component vector of int)
0:? 'o4' (uniform 4-component vector of int)
0:? 'o4' (uniform 4-component vector of int)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
Linked fragment stage:
Linked fragment stage:
...
@@ -724,6 +725,7 @@ gl_FragCoord origin is upper left
...
@@ -724,6 +725,7 @@ gl_FragCoord origin is upper left
0:? 'o2' (uniform 2-component vector of int)
0:? 'o2' (uniform 2-component vector of int)
0:? 'o3' (uniform 3-component vector of int)
0:? 'o3' (uniform 3-component vector of int)
0:? 'o4' (uniform 4-component vector of int)
0:? 'o4' (uniform 4-component vector of int)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.getdimensions.dx10.frag.out
View file @
deb4940c
...
@@ -1094,6 +1094,7 @@ gl_FragCoord origin is upper left
...
@@ -1094,6 +1094,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTex2dmsf4a' (uniform texture2DMSArray)
0:? 'g_tTex2dmsf4a' (uniform texture2DMSArray)
0:? 'g_tTex2dmsi4a' (uniform itexture2DMSArray)
0:? 'g_tTex2dmsi4a' (uniform itexture2DMSArray)
0:? 'g_tTex2dmsu4a' (uniform utexture2DMSArray)
0:? 'g_tTex2dmsu4a' (uniform utexture2DMSArray)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
Linked fragment stage:
Linked fragment stage:
...
@@ -2194,6 +2195,7 @@ gl_FragCoord origin is upper left
...
@@ -2194,6 +2195,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTex2dmsf4a' (uniform texture2DMSArray)
0:? 'g_tTex2dmsf4a' (uniform texture2DMSArray)
0:? 'g_tTex2dmsi4a' (uniform itexture2DMSArray)
0:? 'g_tTex2dmsi4a' (uniform itexture2DMSArray)
0:? 'g_tTex2dmsu4a' (uniform utexture2DMSArray)
0:? 'g_tTex2dmsu4a' (uniform utexture2DMSArray)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.getdimensions.dx10.vert.out
View file @
deb4940c
...
@@ -44,6 +44,7 @@ Shader version: 450
...
@@ -44,6 +44,7 @@ Shader version: 450
0:? Linker Objects
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Position Pos})
Linked vertex stage:
Linked vertex stage:
...
@@ -94,6 +95,7 @@ Shader version: 450
...
@@ -94,6 +95,7 @@ Shader version: 450
0:? Linker Objects
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Position Pos})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.getsampleposition.dx10.frag.out
View file @
deb4940c
...
@@ -52,6 +52,7 @@ ERROR: node is still EOpNull!
...
@@ -52,6 +52,7 @@ ERROR: node is still EOpNull!
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex2dmsf4' (uniform texture2DMS)
0:? 'g_tTex2dmsf4' (uniform texture2DMS)
0:? 'g_tTex2dmsf4a' (uniform texture2DMSArray)
0:? 'g_tTex2dmsf4a' (uniform texture2DMSArray)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
Linked fragment stage:
Linked fragment stage:
...
@@ -105,5 +106,6 @@ ERROR: node is still EOpNull!
...
@@ -105,5 +106,6 @@ ERROR: node is still EOpNull!
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex2dmsf4' (uniform texture2DMS)
0:? 'g_tTex2dmsf4' (uniform texture2DMS)
0:? 'g_tTex2dmsf4a' (uniform texture2DMSArray)
0:? 'g_tTex2dmsf4a' (uniform texture2DMSArray)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
SPIR-V is not generated for failed compile or link
SPIR-V is not generated for failed compile or link
Test/baseResults/hlsl.if.frag.out
View file @
deb4940c
...
@@ -93,6 +93,8 @@ gl_FragCoord origin is upper left
...
@@ -93,6 +93,8 @@ gl_FragCoord origin is upper left
0:32 Pre-Increment (temp int)
0:32 Pre-Increment (temp int)
0:32 'ii' (temp int)
0:32 'ii' (temp int)
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out 4-component vector of float)
0:? 'input' (layout(location=0 ) in 4-component vector of float)
Linked fragment stage:
Linked fragment stage:
...
@@ -192,6 +194,8 @@ gl_FragCoord origin is upper left
...
@@ -192,6 +194,8 @@ gl_FragCoord origin is upper left
0:32 Pre-Increment (temp int)
0:32 Pre-Increment (temp int)
0:32 'ii' (temp int)
0:32 'ii' (temp int)
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out 4-component vector of float)
0:? 'input' (layout(location=0 ) in 4-component vector of float)
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.init.frag.out
View file @
deb4940c
...
@@ -150,6 +150,8 @@ gl_FragCoord origin is upper left
...
@@ -150,6 +150,8 @@ gl_FragCoord origin is upper left
0:? 'single2' (global structure{temp 2-component vector of uint v})
0:? 'single2' (global structure{temp 2-component vector of uint v})
0:? 'single3' (global structure{temp structure{temp int f} s1})
0:? 'single3' (global structure{temp structure{temp int f} s1})
0:? 'single4' (global structure{temp structure{temp 2-component vector of uint v} s1})
0:? 'single4' (global structure{temp structure{temp 2-component vector of uint v} s1})
0:? '@entryPointOutput' (out 4-component vector of float)
0:? 'input' (layout(location=0 ) in 4-component vector of float)
Linked fragment stage:
Linked fragment stage:
...
@@ -306,6 +308,8 @@ gl_FragCoord origin is upper left
...
@@ -306,6 +308,8 @@ gl_FragCoord origin is upper left
0:? 'single2' (global structure{temp 2-component vector of uint v})
0:? 'single2' (global structure{temp 2-component vector of uint v})
0:? 'single3' (global structure{temp structure{temp int f} s1})
0:? 'single3' (global structure{temp structure{temp int f} s1})
0:? 'single4' (global structure{temp structure{temp 2-component vector of uint v} s1})
0:? 'single4' (global structure{temp structure{temp 2-component vector of uint v} s1})
0:? '@entryPointOutput' (out 4-component vector of float)
0:? 'input' (layout(location=0 ) in 4-component vector of float)
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.init2.frag.out
View file @
deb4940c
...
@@ -49,6 +49,7 @@ gl_FragCoord origin is upper left
...
@@ -49,6 +49,7 @@ gl_FragCoord origin is upper left
0:31 'ps_output' (temp structure{temp 4-component vector of float color})
0:31 'ps_output' (temp structure{temp 4-component vector of float color})
0:31 Branch: Return
0:31 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out structure{temp 4-component vector of float color})
Linked fragment stage:
Linked fragment stage:
...
@@ -104,6 +105,7 @@ gl_FragCoord origin is upper left
...
@@ -104,6 +105,7 @@ gl_FragCoord origin is upper left
0:31 'ps_output' (temp structure{temp 4-component vector of float color})
0:31 'ps_output' (temp structure{temp 4-component vector of float color})
0:31 Branch: Return
0:31 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out structure{temp 4-component vector of float color})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.inoutquals.frag.out
View file @
deb4940c
...
@@ -61,6 +61,8 @@ gl_FragCoord origin is upper left
...
@@ -61,6 +61,8 @@ gl_FragCoord origin is upper left
0:24 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:24 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:24 Branch: Return
0:24 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? 'inpos' (noperspective in 4-component vector of float FragCoord)
Linked fragment stage:
Linked fragment stage:
...
@@ -128,6 +130,8 @@ gl_FragCoord origin is upper left
...
@@ -128,6 +130,8 @@ gl_FragCoord origin is upper left
0:24 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:24 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:24 Branch: Return
0:24 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:? 'inpos' (noperspective in 4-component vector of float FragCoord)
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.intrinsics.barriers.comp.out
View file @
deb4940c
...
@@ -18,6 +18,7 @@ local_size = (1, 1, 1)
...
@@ -18,6 +18,7 @@ local_size = (1, 1, 1)
0:11 0.000000
0:11 0.000000
0:11 Branch: Return
0:11 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out float)
Linked compute stage:
Linked compute stage:
...
@@ -42,6 +43,7 @@ local_size = (1, 1, 1)
...
@@ -42,6 +43,7 @@ local_size = (1, 1, 1)
0:11 0.000000
0:11 0.000000
0:11 Branch: Return
0:11 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out float)
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.intrinsics.comp.out
View file @
deb4940c
...
@@ -321,6 +321,12 @@ local_size = (1, 1, 1)
...
@@ -321,6 +321,12 @@ local_size = (1, 1, 1)
0:? 'gs_ua4' (global 4-component vector of uint)
0:? 'gs_ua4' (global 4-component vector of uint)
0:? 'gs_ub4' (global 4-component vector of uint)
0:? 'gs_ub4' (global 4-component vector of uint)
0:? 'gs_uc4' (global 4-component vector of uint)
0:? 'gs_uc4' (global 4-component vector of uint)
0:? '@entryPointOutput' (out 4-component vector of float)
0:? 'inF0' (layout(location=0 ) in 4-component vector of float)
0:? 'inF1' (layout(location=1 ) in 4-component vector of float)
0:? 'inF2' (layout(location=2 ) in 4-component vector of float)
0:? 'inU0' (layout(location=3 ) in 4-component vector of uint)
0:? 'inU1' (layout(location=4 ) in 4-component vector of uint)
Linked compute stage:
Linked compute stage:
...
@@ -648,15 +654,21 @@ local_size = (1, 1, 1)
...
@@ -648,15 +654,21 @@ local_size = (1, 1, 1)
0:? 'gs_ua4' (global 4-component vector of uint)
0:? 'gs_ua4' (global 4-component vector of uint)
0:? 'gs_ub4' (global 4-component vector of uint)
0:? 'gs_ub4' (global 4-component vector of uint)
0:? 'gs_uc4' (global 4-component vector of uint)
0:? 'gs_uc4' (global 4-component vector of uint)
0:? '@entryPointOutput' (out 4-component vector of float)
0:? 'inF0' (layout(location=0 ) in 4-component vector of float)
0:? 'inF1' (layout(location=1 ) in 4-component vector of float)
0:? 'inF2' (layout(location=2 ) in 4-component vector of float)
0:? 'inU0' (layout(location=3 ) in 4-component vector of uint)
0:? 'inU1' (layout(location=4 ) in 4-component vector of uint)
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
// Id's are bound by 2
19
// Id's are bound by 2
24
Capability Shader
Capability Shader
1: ExtInstImport "GLSL.std.450"
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
MemoryModel Logical GLSL450
EntryPoint GLCompute 4 "ComputeShaderFunction" 175 215
EntryPoint GLCompute 4 "ComputeShaderFunction" 175 215
219 220 222 223
ExecutionMode 4 LocalSize 1 1 1
ExecutionMode 4 LocalSize 1 1 1
Name 4 "ComputeShaderFunction"
Name 4 "ComputeShaderFunction"
Name 16 "ComputeShaderFunctionS(f1;f1;f1;u1;u1;"
Name 16 "ComputeShaderFunctionS(f1;f1;f1;u1;u1;"
...
@@ -699,8 +711,16 @@ local_size = (1, 1, 1)
...
@@ -699,8 +711,16 @@ local_size = (1, 1, 1)
Name 185 "out_u4"
Name 185 "out_u4"
Name 193 "gs_uc4"
Name 193 "gs_uc4"
Name 215 "@entryPointOutput"
Name 215 "@entryPointOutput"
Name 219 "inF1"
Name 220 "inF2"
Name 222 "inU0"
Name 223 "inU1"
Decorate 175(inF0) Location 0
Decorate 175(inF0) Location 0
Decorate 215(@entryPointOutput) Location 0
Decorate 215(@entryPointOutput) Location 0
Decorate 219(inF1) Location 1
Decorate 220(inF2) Location 2
Decorate 222(inU0) Location 3
Decorate 223(inU1) Location 4
2: TypeVoid
2: TypeVoid
3: TypeFunction 2
3: TypeFunction 2
6: TypeFloat 32
6: TypeFloat 32
...
@@ -753,6 +773,11 @@ local_size = (1, 1, 1)
...
@@ -753,6 +773,11 @@ local_size = (1, 1, 1)
215(@entryPointOutput): 214(ptr) Variable Output
215(@entryPointOutput): 214(ptr) Variable Output
216: 6(float) Constant 1082130432
216: 6(float) Constant 1082130432
217: 173(fvec4) ConstantComposite 128 129 169 216
217: 173(fvec4) ConstantComposite 128 129 169 216
219(inF1): 174(ptr) Variable Input
220(inF2): 174(ptr) Variable Input
221: TypePointer Input 178(ivec4)
222(inU0): 221(ptr) Variable Input
223(inU1): 221(ptr) Variable Input
4(ComputeShaderFunction): 2 Function None 3
4(ComputeShaderFunction): 2 Function None 3
5: Label
5: Label
185(out_u4): 184(ptr) Variable Function
185(out_u4): 184(ptr) Variable Function
...
...
Test/baseResults/hlsl.intrinsics.double.frag.out
View file @
deb4940c
...
@@ -34,6 +34,15 @@ gl_FragCoord origin is upper left
...
@@ -34,6 +34,15 @@ gl_FragCoord origin is upper left
0:9 0.000000
0:9 0.000000
0:9 Branch: Return
0:9 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out float)
0:? 'inDV1a' (layout(location=0 ) in double)
0:? 'inDV1b' (layout(location=1 ) in double)
0:? 'inDV1c' (layout(location=2 ) in double)
0:? 'inDV2' (layout(location=3 ) in 2-component vector of double)
0:? 'inDV3' (layout(location=4 ) in 3-component vector of double)
0:? 'inDV4' (layout(location=6 ) in 4-component vector of double)
0:? 'inU1a' (layout(location=8 ) in uint)
0:? 'inU1b' (layout(location=9 ) in uint)
Linked fragment stage:
Linked fragment stage:
...
@@ -74,16 +83,25 @@ gl_FragCoord origin is upper left
...
@@ -74,16 +83,25 @@ gl_FragCoord origin is upper left
0:9 0.000000
0:9 0.000000
0:9 Branch: Return
0:9 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out float)
0:? 'inDV1a' (layout(location=0 ) in double)
0:? 'inDV1b' (layout(location=1 ) in double)
0:? 'inDV1c' (layout(location=2 ) in double)
0:? 'inDV2' (layout(location=3 ) in 2-component vector of double)
0:? 'inDV3' (layout(location=4 ) in 3-component vector of double)
0:? 'inDV4' (layout(location=6 ) in 4-component vector of double)
0:? 'inU1a' (layout(location=8 ) in uint)
0:? 'inU1b' (layout(location=9 ) in uint)
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
// Id's are bound by
32
// Id's are bound by
41
Capability Shader
Capability Shader
Capability Float64
Capability Float64
1: ExtInstImport "GLSL.std.450"
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "PixelShaderFunction" 10 12 14 20 22 29
EntryPoint Fragment 4 "PixelShaderFunction" 10 12 14 20 22 29
34 37 40
ExecutionMode 4 OriginUpperLeft
ExecutionMode 4 OriginUpperLeft
Name 4 "PixelShaderFunction"
Name 4 "PixelShaderFunction"
Name 8 "r00"
Name 8 "r00"
...
@@ -94,12 +112,18 @@ gl_FragCoord origin is upper left
...
@@ -94,12 +112,18 @@ gl_FragCoord origin is upper left
Name 20 "inU1a"
Name 20 "inU1a"
Name 22 "inU1b"
Name 22 "inU1b"
Name 29 "@entryPointOutput"
Name 29 "@entryPointOutput"
Name 34 "inDV2"
Name 37 "inDV3"
Name 40 "inDV4"
Decorate 10(inDV1a) Location 0
Decorate 10(inDV1a) Location 0
Decorate 12(inDV1b) Location 1
Decorate 12(inDV1b) Location 1
Decorate 14(inDV1c) Location 2
Decorate 14(inDV1c) Location 2
Decorate 20(inU1a) Location 8
Decorate 20(inU1a) Location 8
Decorate 22(inU1b) Location 9
Decorate 22(inU1b) Location 9
Decorate 29(@entryPointOutput) Location 0
Decorate 29(@entryPointOutput) Location 0
Decorate 34(inDV2) Location 3
Decorate 37(inDV3) Location 4
Decorate 40(inDV4) Location 6
2: TypeVoid
2: TypeVoid
3: TypeFunction 2
3: TypeFunction 2
6: TypeFloat 64
6: TypeFloat 64
...
@@ -117,6 +141,15 @@ gl_FragCoord origin is upper left
...
@@ -117,6 +141,15 @@ gl_FragCoord origin is upper left
28: TypePointer Output 27(float)
28: TypePointer Output 27(float)
29(@entryPointOutput): 28(ptr) Variable Output
29(@entryPointOutput): 28(ptr) Variable Output
30: 27(float) Constant 0
30: 27(float) Constant 0
32: TypeVector 6(float) 2
33: TypePointer Input 32(fvec2)
34(inDV2): 33(ptr) Variable Input
35: TypeVector 6(float) 3
36: TypePointer Input 35(fvec3)
37(inDV3): 36(ptr) Variable Input
38: TypeVector 6(float) 4
39: TypePointer Input 38(fvec4)
40(inDV4): 39(ptr) Variable Input
4(PixelShaderFunction): 2 Function None 3
4(PixelShaderFunction): 2 Function None 3
5: Label
5: Label
8(r00): 7(ptr) Variable Function
8(r00): 7(ptr) Variable Function
...
...
Test/baseResults/hlsl.intrinsics.evalfns.frag.out
View file @
deb4940c
...
@@ -44,6 +44,11 @@ gl_FragCoord origin is upper left
...
@@ -44,6 +44,11 @@ gl_FragCoord origin is upper left
0:9 Constant:
0:9 Constant:
0:9 0.062500
0:9 0.062500
0:? Linker Objects
0:? Linker Objects
0:? 'inF1' (layout(location=0 ) in float)
0:? 'inF2' (layout(location=1 ) in 2-component vector of float)
0:? 'inF3' (layout(location=2 ) in 3-component vector of float)
0:? 'inF4' (layout(location=3 ) in 4-component vector of float)
0:? 'inI2' (layout(location=4 ) in 2-component vector of int)
Linked fragment stage:
Linked fragment stage:
...
@@ -94,6 +99,11 @@ gl_FragCoord origin is upper left
...
@@ -94,6 +99,11 @@ gl_FragCoord origin is upper left
0:9 Constant:
0:9 Constant:
0:9 0.062500
0:9 0.062500
0:? Linker Objects
0:? Linker Objects
0:? 'inF1' (layout(location=0 ) in float)
0:? 'inF2' (layout(location=1 ) in 2-component vector of float)
0:? 'inF3' (layout(location=2 ) in 3-component vector of float)
0:? 'inF4' (layout(location=3 ) in 4-component vector of float)
0:? 'inI2' (layout(location=4 ) in 2-component vector of int)
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.intrinsics.f1632.frag.out
View file @
deb4940c
...
@@ -66,6 +66,8 @@ ERROR: node is still EOpNull!
...
@@ -66,6 +66,8 @@ ERROR: node is still EOpNull!
0:? 4.000000
0:? 4.000000
0:32 Branch: Return
0:32 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out 4-component vector of float)
0:? 'inF0' (layout(location=0 ) in 4-component vector of float)
Linked fragment stage:
Linked fragment stage:
...
@@ -131,5 +133,7 @@ ERROR: node is still EOpNull!
...
@@ -131,5 +133,7 @@ ERROR: node is still EOpNull!
0:? 4.000000
0:? 4.000000
0:32 Branch: Return
0:32 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out 4-component vector of float)
0:? 'inF0' (layout(location=0 ) in 4-component vector of float)
SPIR-V is not generated for failed compile or link
SPIR-V is not generated for failed compile or link
Test/baseResults/hlsl.intrinsics.frag.out
View file @
deb4940c
...
@@ -2790,6 +2790,7 @@ gl_FragCoord origin is upper left
...
@@ -2790,6 +2790,7 @@ gl_FragCoord origin is upper left
0:? 'gs_ua4' (global 4-component vector of uint)
0:? 'gs_ua4' (global 4-component vector of uint)
0:? 'gs_ub4' (global 4-component vector of uint)
0:? 'gs_ub4' (global 4-component vector of uint)
0:? 'gs_uc4' (global 4-component vector of uint)
0:? 'gs_uc4' (global 4-component vector of uint)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float color})
Linked fragment stage:
Linked fragment stage:
...
@@ -5586,6 +5587,7 @@ gl_FragCoord origin is upper left
...
@@ -5586,6 +5587,7 @@ gl_FragCoord origin is upper left
0:? 'gs_ua4' (global 4-component vector of uint)
0:? 'gs_ua4' (global 4-component vector of uint)
0:? 'gs_ub4' (global 4-component vector of uint)
0:? 'gs_ub4' (global 4-component vector of uint)
0:? 'gs_uc4' (global 4-component vector of uint)
0:? 'gs_uc4' (global 4-component vector of uint)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float color})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.intrinsics.lit.frag.out
View file @
deb4940c
...
@@ -36,6 +36,9 @@ gl_FragCoord origin is upper left
...
@@ -36,6 +36,9 @@ gl_FragCoord origin is upper left
0:3 Constant:
0:3 Constant:
0:3 1.000000
0:3 1.000000
0:? Linker Objects
0:? Linker Objects
0:? 'n_dot_l' (layout(location=0 ) in float)
0:? 'n_dot_h' (layout(location=1 ) in float)
0:? 'm' (layout(location=2 ) in float)
Linked fragment stage:
Linked fragment stage:
...
@@ -78,6 +81,9 @@ gl_FragCoord origin is upper left
...
@@ -78,6 +81,9 @@ gl_FragCoord origin is upper left
0:3 Constant:
0:3 Constant:
0:3 1.000000
0:3 1.000000
0:? Linker Objects
0:? Linker Objects
0:? 'n_dot_l' (layout(location=0 ) in float)
0:? 'n_dot_h' (layout(location=1 ) in float)
0:? 'm' (layout(location=2 ) in float)
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.intrinsics.negative.comp.out
View file @
deb4940c
...
@@ -62,6 +62,11 @@ local_size = (1, 1, 1)
...
@@ -62,6 +62,11 @@ local_size = (1, 1, 1)
0:? 4.000000
0:? 4.000000
0:199 Branch: Return
0:199 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out 4-component vector of float)
0:? 'inF0' (layout(location=0 ) in 4-component vector of float)
0:? 'inF1' (layout(location=1 ) in 4-component vector of float)
0:? 'inF2' (layout(location=2 ) in 4-component vector of float)
0:? 'inI0' (layout(location=3 ) in 4-component vector of int)
Linked compute stage:
Linked compute stage:
...
@@ -130,15 +135,20 @@ local_size = (1, 1, 1)
...
@@ -130,15 +135,20 @@ local_size = (1, 1, 1)
0:? 4.000000
0:? 4.000000
0:199 Branch: Return
0:199 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out 4-component vector of float)
0:? 'inF0' (layout(location=0 ) in 4-component vector of float)
0:? 'inF1' (layout(location=1 ) in 4-component vector of float)
0:? 'inF2' (layout(location=2 ) in 4-component vector of float)
0:? 'inI0' (layout(location=3 ) in 4-component vector of int)
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
// Id's are bound by
65
// Id's are bound by
72
Capability Shader
Capability Shader
1: ExtInstImport "GLSL.std.450"
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
MemoryModel Logical GLSL450
EntryPoint GLCompute 4 "ComputeShaderFunction" 61
EntryPoint GLCompute 4 "ComputeShaderFunction" 61
66 67 68 71
ExecutionMode 4 LocalSize 1 1 1
ExecutionMode 4 LocalSize 1 1 1
Name 4 "ComputeShaderFunction"
Name 4 "ComputeShaderFunction"
Name 15 "ComputeShaderFunctionS(f1;f1;f1;i1;"
Name 15 "ComputeShaderFunctionS(f1;f1;f1;i1;"
...
@@ -162,7 +172,15 @@ local_size = (1, 1, 1)
...
@@ -162,7 +172,15 @@ local_size = (1, 1, 1)
Name 41 "inF2"
Name 41 "inF2"
Name 42 "inI0"
Name 42 "inI0"
Name 61 "@entryPointOutput"
Name 61 "@entryPointOutput"
Name 66 "inF0"
Name 67 "inF1"
Name 68 "inF2"
Name 71 "inI0"
Decorate 61(@entryPointOutput) Location 0
Decorate 61(@entryPointOutput) Location 0
Decorate 66(inF0) Location 0
Decorate 67(inF1) Location 1
Decorate 68(inF2) Location 2
Decorate 71(inI0) Location 3
2: TypeVoid
2: TypeVoid
3: TypeFunction 2
3: TypeFunction 2
6: TypeFloat 32
6: TypeFloat 32
...
@@ -191,6 +209,13 @@ local_size = (1, 1, 1)
...
@@ -191,6 +209,13 @@ local_size = (1, 1, 1)
61(@entryPointOutput): 60(ptr) Variable Output
61(@entryPointOutput): 60(ptr) Variable Output
62: 6(float) Constant 1082130432
62: 6(float) Constant 1082130432
63: 59(fvec4) ConstantComposite 50 51 55 62
63: 59(fvec4) ConstantComposite 50 51 55 62
65: TypePointer Input 59(fvec4)
66(inF0): 65(ptr) Variable Input
67(inF1): 65(ptr) Variable Input
68(inF2): 65(ptr) Variable Input
69: TypeVector 8(int) 4
70: TypePointer Input 69(ivec4)
71(inI0): 70(ptr) Variable Input
4(ComputeShaderFunction): 2 Function None 3
4(ComputeShaderFunction): 2 Function None 3
5: Label
5: Label
Store 61(@entryPointOutput) 63
Store 61(@entryPointOutput) 63
...
...
Test/baseResults/hlsl.intrinsics.negative.frag.out
View file @
deb4940c
...
@@ -408,6 +408,11 @@ ERROR: node is still EOpNull!
...
@@ -408,6 +408,11 @@ ERROR: node is still EOpNull!
0:? 4.000000
0:? 4.000000
0:? 4.000000
0:? 4.000000
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out 4-component vector of float)
0:? 'inF0' (layout(location=0 ) in 4-component vector of float)
0:? 'inF1' (layout(location=1 ) in 4-component vector of float)
0:? 'inF2' (layout(location=2 ) in 4-component vector of float)
0:? 'inI0' (layout(location=3 ) in 4-component vector of int)
Linked fragment stage:
Linked fragment stage:
...
@@ -759,5 +764,10 @@ ERROR: node is still EOpNull!
...
@@ -759,5 +764,10 @@ ERROR: node is still EOpNull!
0:? 4.000000
0:? 4.000000
0:? 4.000000
0:? 4.000000
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out 4-component vector of float)
0:? 'inF0' (layout(location=0 ) in 4-component vector of float)
0:? 'inF1' (layout(location=1 ) in 4-component vector of float)
0:? 'inF2' (layout(location=2 ) in 4-component vector of float)
0:? 'inI0' (layout(location=3 ) in 4-component vector of int)
SPIR-V is not generated for failed compile or link
SPIR-V is not generated for failed compile or link
Test/baseResults/hlsl.intrinsics.negative.vert.out
View file @
deb4940c
...
@@ -126,6 +126,11 @@ Shader version: 450
...
@@ -126,6 +126,11 @@ Shader version: 450
0:? 'gs_ua4' (global 4-component vector of uint)
0:? 'gs_ua4' (global 4-component vector of uint)
0:? 'gs_ub4' (global 4-component vector of uint)
0:? 'gs_ub4' (global 4-component vector of uint)
0:? 'gs_uc4' (global 4-component vector of uint)
0:? 'gs_uc4' (global 4-component vector of uint)
0:? '@entryPointOutput' (out 4-component vector of float)
0:? 'inF0' (layout(location=0 ) in 4-component vector of float)
0:? 'inF1' (layout(location=1 ) in 4-component vector of float)
0:? 'inF2' (layout(location=2 ) in 4-component vector of float)
0:? 'inI0' (layout(location=3 ) in 4-component vector of int)
Linked vertex stage:
Linked vertex stage:
...
@@ -258,15 +263,20 @@ Shader version: 450
...
@@ -258,15 +263,20 @@ Shader version: 450
0:? 'gs_ua4' (global 4-component vector of uint)
0:? 'gs_ua4' (global 4-component vector of uint)
0:? 'gs_ub4' (global 4-component vector of uint)
0:? 'gs_ub4' (global 4-component vector of uint)
0:? 'gs_uc4' (global 4-component vector of uint)
0:? 'gs_uc4' (global 4-component vector of uint)
0:? '@entryPointOutput' (out 4-component vector of float)
0:? 'inF0' (layout(location=0 ) in 4-component vector of float)
0:? 'inF1' (layout(location=1 ) in 4-component vector of float)
0:? 'inF2' (layout(location=2 ) in 4-component vector of float)
0:? 'inI0' (layout(location=3 ) in 4-component vector of int)
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
// Id's are bound by 12
1
// Id's are bound by 12
8
Capability Shader
Capability Shader
1: ExtInstImport "GLSL.std.450"
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
MemoryModel Logical GLSL450
EntryPoint Vertex 4 "VertexShaderFunction" 85
EntryPoint Vertex 4 "VertexShaderFunction" 85
122 123 124 127
Name 4 "VertexShaderFunction"
Name 4 "VertexShaderFunction"
Name 15 "VertexShaderFunctionS(f1;f1;f1;i1;"
Name 15 "VertexShaderFunctionS(f1;f1;f1;i1;"
Name 11 "inF0"
Name 11 "inF0"
...
@@ -313,7 +323,15 @@ Shader version: 450
...
@@ -313,7 +323,15 @@ Shader version: 450
Name 118 "gs_ua4"
Name 118 "gs_ua4"
Name 119 "gs_ub4"
Name 119 "gs_ub4"
Name 120 "gs_uc4"
Name 120 "gs_uc4"
Name 122 "inF0"
Name 123 "inF1"
Name 124 "inF2"
Name 127 "inI0"
Decorate 85(@entryPointOutput) Location 0
Decorate 85(@entryPointOutput) Location 0
Decorate 122(inF0) Location 0
Decorate 123(inF1) Location 1
Decorate 124(inF2) Location 2
Decorate 127(inI0) Location 3
2: TypeVoid
2: TypeVoid
3: TypeFunction 2
3: TypeFunction 2
6: TypeFloat 32
6: TypeFloat 32
...
@@ -377,6 +395,13 @@ Shader version: 450
...
@@ -377,6 +395,13 @@ Shader version: 450
118(gs_ua4): 117(ptr) Variable Private
118(gs_ua4): 117(ptr) Variable Private
119(gs_ub4): 117(ptr) Variable Private
119(gs_ub4): 117(ptr) Variable Private
120(gs_uc4): 117(ptr) Variable Private
120(gs_uc4): 117(ptr) Variable Private
121: TypePointer Input 61(fvec4)
122(inF0): 121(ptr) Variable Input
123(inF1): 121(ptr) Variable Input
124(inF2): 121(ptr) Variable Input
125: TypeVector 8(int) 4
126: TypePointer Input 125(ivec4)
127(inI0): 126(ptr) Variable Input
4(VertexShaderFunction): 2 Function None 3
4(VertexShaderFunction): 2 Function None 3
5: Label
5: Label
Store 85(@entryPointOutput) 87
Store 85(@entryPointOutput) 87
...
...
Test/baseResults/hlsl.load.2dms.dx10.frag.out
View file @
deb4940c
...
@@ -109,6 +109,7 @@ gl_FragCoord origin is upper left
...
@@ -109,6 +109,7 @@ gl_FragCoord origin is upper left
0:? 'o2' (uniform 2-component vector of int)
0:? 'o2' (uniform 2-component vector of int)
0:? 'o3' (uniform 3-component vector of int)
0:? 'o3' (uniform 3-component vector of int)
0:? 'o4' (uniform 4-component vector of int)
0:? 'o4' (uniform 4-component vector of int)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
Linked fragment stage:
Linked fragment stage:
...
@@ -224,6 +225,7 @@ gl_FragCoord origin is upper left
...
@@ -224,6 +225,7 @@ gl_FragCoord origin is upper left
0:? 'o2' (uniform 2-component vector of int)
0:? 'o2' (uniform 2-component vector of int)
0:? 'o3' (uniform 3-component vector of int)
0:? 'o3' (uniform 3-component vector of int)
0:? 'o4' (uniform 4-component vector of int)
0:? 'o4' (uniform 4-component vector of int)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.load.array.dx10.frag.out
View file @
deb4940c
...
@@ -142,6 +142,7 @@ gl_FragCoord origin is upper left
...
@@ -142,6 +142,7 @@ gl_FragCoord origin is upper left
0:? 'o2' (uniform 2-component vector of int)
0:? 'o2' (uniform 2-component vector of int)
0:? 'o3' (uniform 3-component vector of int)
0:? 'o3' (uniform 3-component vector of int)
0:? 'o4' (uniform 4-component vector of int)
0:? 'o4' (uniform 4-component vector of int)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
Linked fragment stage:
Linked fragment stage:
...
@@ -290,6 +291,7 @@ gl_FragCoord origin is upper left
...
@@ -290,6 +291,7 @@ gl_FragCoord origin is upper left
0:? 'o2' (uniform 2-component vector of int)
0:? 'o2' (uniform 2-component vector of int)
0:? 'o3' (uniform 3-component vector of int)
0:? 'o3' (uniform 3-component vector of int)
0:? 'o4' (uniform 4-component vector of int)
0:? 'o4' (uniform 4-component vector of int)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.load.basic.dx10.frag.out
View file @
deb4940c
...
@@ -175,6 +175,7 @@ gl_FragCoord origin is upper left
...
@@ -175,6 +175,7 @@ gl_FragCoord origin is upper left
0:? 'o2' (uniform 2-component vector of int)
0:? 'o2' (uniform 2-component vector of int)
0:? 'o3' (uniform 3-component vector of int)
0:? 'o3' (uniform 3-component vector of int)
0:? 'o4' (uniform 4-component vector of int)
0:? 'o4' (uniform 4-component vector of int)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
Linked fragment stage:
Linked fragment stage:
...
@@ -356,6 +357,7 @@ gl_FragCoord origin is upper left
...
@@ -356,6 +357,7 @@ gl_FragCoord origin is upper left
0:? 'o2' (uniform 2-component vector of int)
0:? 'o2' (uniform 2-component vector of int)
0:? 'o3' (uniform 3-component vector of int)
0:? 'o3' (uniform 3-component vector of int)
0:? 'o4' (uniform 4-component vector of int)
0:? 'o4' (uniform 4-component vector of int)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.load.basic.dx10.vert.out
View file @
deb4940c
...
@@ -167,6 +167,7 @@ Shader version: 450
...
@@ -167,6 +167,7 @@ Shader version: 450
0:? 'o2' (uniform 2-component vector of int)
0:? 'o2' (uniform 2-component vector of int)
0:? 'o3' (uniform 3-component vector of int)
0:? 'o3' (uniform 3-component vector of int)
0:? 'o4' (uniform 4-component vector of int)
0:? 'o4' (uniform 4-component vector of int)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Position Pos})
Linked vertex stage:
Linked vertex stage:
...
@@ -340,6 +341,7 @@ Shader version: 450
...
@@ -340,6 +341,7 @@ Shader version: 450
0:? 'o2' (uniform 2-component vector of int)
0:? 'o2' (uniform 2-component vector of int)
0:? 'o3' (uniform 3-component vector of int)
0:? 'o3' (uniform 3-component vector of int)
0:? 'o4' (uniform 4-component vector of int)
0:? 'o4' (uniform 4-component vector of int)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Position Pos})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.load.buffer.dx10.frag.out
View file @
deb4940c
...
@@ -58,6 +58,7 @@ gl_FragCoord origin is upper left
...
@@ -58,6 +58,7 @@ gl_FragCoord origin is upper left
0:? 'o2' (uniform 2-component vector of int)
0:? 'o2' (uniform 2-component vector of int)
0:? 'o3' (uniform 3-component vector of int)
0:? 'o3' (uniform 3-component vector of int)
0:? 'o4' (uniform 4-component vector of int)
0:? 'o4' (uniform 4-component vector of int)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
Linked fragment stage:
Linked fragment stage:
...
@@ -122,6 +123,7 @@ gl_FragCoord origin is upper left
...
@@ -122,6 +123,7 @@ gl_FragCoord origin is upper left
0:? 'o2' (uniform 2-component vector of int)
0:? 'o2' (uniform 2-component vector of int)
0:? 'o3' (uniform 3-component vector of int)
0:? 'o3' (uniform 3-component vector of int)
0:? 'o4' (uniform 4-component vector of int)
0:? 'o4' (uniform 4-component vector of int)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.load.offset.dx10.frag.out
View file @
deb4940c
...
@@ -184,6 +184,7 @@ gl_FragCoord origin is upper left
...
@@ -184,6 +184,7 @@ gl_FragCoord origin is upper left
0:? 'o2' (uniform 2-component vector of int)
0:? 'o2' (uniform 2-component vector of int)
0:? 'o3' (uniform 3-component vector of int)
0:? 'o3' (uniform 3-component vector of int)
0:? 'o4' (uniform 4-component vector of int)
0:? 'o4' (uniform 4-component vector of int)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
Linked fragment stage:
Linked fragment stage:
...
@@ -374,6 +375,7 @@ gl_FragCoord origin is upper left
...
@@ -374,6 +375,7 @@ gl_FragCoord origin is upper left
0:? 'o2' (uniform 2-component vector of int)
0:? 'o2' (uniform 2-component vector of int)
0:? 'o3' (uniform 3-component vector of int)
0:? 'o3' (uniform 3-component vector of int)
0:? 'o4' (uniform 4-component vector of int)
0:? 'o4' (uniform 4-component vector of int)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.load.offsetarray.dx10.frag.out
View file @
deb4940c
...
@@ -148,6 +148,7 @@ gl_FragCoord origin is upper left
...
@@ -148,6 +148,7 @@ gl_FragCoord origin is upper left
0:? 'o2' (uniform 2-component vector of int)
0:? 'o2' (uniform 2-component vector of int)
0:? 'o3' (uniform 3-component vector of int)
0:? 'o3' (uniform 3-component vector of int)
0:? 'o4' (uniform 4-component vector of int)
0:? 'o4' (uniform 4-component vector of int)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
Linked fragment stage:
Linked fragment stage:
...
@@ -302,6 +303,7 @@ gl_FragCoord origin is upper left
...
@@ -302,6 +303,7 @@ gl_FragCoord origin is upper left
0:? 'o2' (uniform 2-component vector of int)
0:? 'o2' (uniform 2-component vector of int)
0:? 'o3' (uniform 3-component vector of int)
0:? 'o3' (uniform 3-component vector of int)
0:? 'o4' (uniform 4-component vector of int)
0:? 'o4' (uniform 4-component vector of int)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.matrixindex.frag.out
View file @
deb4940c
...
@@ -116,6 +116,7 @@ gl_FragCoord origin is upper left
...
@@ -116,6 +116,7 @@ gl_FragCoord origin is upper left
0:? Linker Objects
0:? Linker Objects
0:? 'idx' (uniform int)
0:? 'idx' (uniform int)
0:? 'um' (uniform 3X2 matrix of float)
0:? 'um' (uniform 3X2 matrix of float)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color})
Linked fragment stage:
Linked fragment stage:
...
@@ -238,6 +239,7 @@ gl_FragCoord origin is upper left
...
@@ -238,6 +239,7 @@ gl_FragCoord origin is upper left
0:? Linker Objects
0:? Linker Objects
0:? 'idx' (uniform int)
0:? 'idx' (uniform int)
0:? 'um' (uniform 3X2 matrix of float)
0:? 'um' (uniform 3X2 matrix of float)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.max.frag.out
View file @
deb4940c
...
@@ -15,6 +15,9 @@ gl_FragCoord origin is upper left
...
@@ -15,6 +15,9 @@ gl_FragCoord origin is upper left
0:3 'input2' (layout(location=1 ) in 4-component vector of float)
0:3 'input2' (layout(location=1 ) in 4-component vector of float)
0:3 Branch: Return
0:3 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out 4-component vector of float)
0:? 'input1' (layout(location=0 ) in 4-component vector of float)
0:? 'input2' (layout(location=1 ) in 4-component vector of float)
Linked fragment stage:
Linked fragment stage:
...
@@ -36,6 +39,9 @@ gl_FragCoord origin is upper left
...
@@ -36,6 +39,9 @@ gl_FragCoord origin is upper left
0:3 'input2' (layout(location=1 ) in 4-component vector of float)
0:3 'input2' (layout(location=1 ) in 4-component vector of float)
0:3 Branch: Return
0:3 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out 4-component vector of float)
0:? 'input1' (layout(location=0 ) in 4-component vector of float)
0:? 'input2' (layout(location=1 ) in 4-component vector of float)
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.multiEntry.vert.out
View file @
deb4940c
...
@@ -22,6 +22,8 @@ Shader version: 450
...
@@ -22,6 +22,8 @@ Shader version: 450
0:10 Branch: Return
0:10 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? 'Position' (uniform samplerBuffer)
0:? 'Position' (uniform samplerBuffer)
0:? '@entryPointOutput' (out 4-component vector of float Position)
0:? 'Index' (in uint VertexIndex)
Linked vertex stage:
Linked vertex stage:
...
@@ -50,6 +52,8 @@ Shader version: 450
...
@@ -50,6 +52,8 @@ Shader version: 450
0:10 Branch: Return
0:10 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? 'Position' (uniform samplerBuffer)
0:? 'Position' (uniform samplerBuffer)
0:? '@entryPointOutput' (out 4-component vector of float Position)
0:? 'Index' (in uint VertexIndex)
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.numericsuffixes.frag.out
View file @
deb4940c
...
@@ -64,6 +64,7 @@ gl_FragCoord origin is upper left
...
@@ -64,6 +64,7 @@ gl_FragCoord origin is upper left
0:19 'ps_output' (temp structure{temp 4-component vector of float color})
0:19 'ps_output' (temp structure{temp 4-component vector of float color})
0:19 Branch: Return
0:19 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out structure{temp 4-component vector of float color})
Linked fragment stage:
Linked fragment stage:
...
@@ -134,6 +135,7 @@ gl_FragCoord origin is upper left
...
@@ -134,6 +135,7 @@ gl_FragCoord origin is upper left
0:19 'ps_output' (temp structure{temp 4-component vector of float color})
0:19 'ps_output' (temp structure{temp 4-component vector of float color})
0:19 Branch: Return
0:19 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out structure{temp 4-component vector of float color})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.overload.frag.out
View file @
deb4940c
...
@@ -354,6 +354,8 @@ gl_FragCoord origin is upper left
...
@@ -354,6 +354,8 @@ gl_FragCoord origin is upper left
0:141 'input' (layout(location=0 ) in 4-component vector of float)
0:141 'input' (layout(location=0 ) in 4-component vector of float)
0:141 Branch: Return
0:141 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out 4-component vector of float)
0:? 'input' (layout(location=0 ) in 4-component vector of float)
Linked fragment stage:
Linked fragment stage:
...
@@ -714,6 +716,8 @@ gl_FragCoord origin is upper left
...
@@ -714,6 +716,8 @@ gl_FragCoord origin is upper left
0:141 'input' (layout(location=0 ) in 4-component vector of float)
0:141 'input' (layout(location=0 ) in 4-component vector of float)
0:141 Branch: Return
0:141 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out 4-component vector of float)
0:? 'input' (layout(location=0 ) in 4-component vector of float)
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.pp.line.frag.out
View file @
deb4940c
...
@@ -37,6 +37,7 @@ gl_FragCoord origin is upper left
...
@@ -37,6 +37,7 @@ gl_FragCoord origin is upper left
0:129 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:129 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:129 Branch: Return
0:129 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
Linked fragment stage:
Linked fragment stage:
...
@@ -80,6 +81,7 @@ gl_FragCoord origin is upper left
...
@@ -80,6 +81,7 @@ gl_FragCoord origin is upper left
0:129 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:129 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
0:129 Branch: Return
0:129 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.precedence.frag.out
View file @
deb4940c
...
@@ -46,6 +46,11 @@ gl_FragCoord origin is upper left
...
@@ -46,6 +46,11 @@ gl_FragCoord origin is upper left
0:8 3 (const int)
0:8 3 (const int)
0:8 Branch: Return
0:8 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out 4-component vector of float)
0:? 'a1' (layout(location=0 ) in 4-component vector of float)
0:? 'a2' (layout(location=1 ) in 4-component vector of float)
0:? 'a3' (layout(location=2 ) in 4-component vector of float)
0:? 'a4' (layout(location=3 ) in 4-component vector of float)
Linked fragment stage:
Linked fragment stage:
...
@@ -98,6 +103,11 @@ gl_FragCoord origin is upper left
...
@@ -98,6 +103,11 @@ gl_FragCoord origin is upper left
0:8 3 (const int)
0:8 3 (const int)
0:8 Branch: Return
0:8 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out 4-component vector of float)
0:? 'a1' (layout(location=0 ) in 4-component vector of float)
0:? 'a2' (layout(location=1 ) in 4-component vector of float)
0:? 'a3' (layout(location=2 ) in 4-component vector of float)
0:? 'a4' (layout(location=3 ) in 4-component vector of float)
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.precedence2.frag.out
View file @
deb4940c
...
@@ -29,6 +29,11 @@ gl_FragCoord origin is upper left
...
@@ -29,6 +29,11 @@ gl_FragCoord origin is upper left
0:8 'a4' (layout(location=3 ) in int)
0:8 'a4' (layout(location=3 ) in int)
0:8 Branch: Return
0:8 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out int)
0:? 'a1' (layout(location=0 ) in int)
0:? 'a2' (layout(location=1 ) in int)
0:? 'a3' (layout(location=2 ) in int)
0:? 'a4' (layout(location=3 ) in int)
Linked fragment stage:
Linked fragment stage:
...
@@ -64,6 +69,11 @@ gl_FragCoord origin is upper left
...
@@ -64,6 +69,11 @@ gl_FragCoord origin is upper left
0:8 'a4' (layout(location=3 ) in int)
0:8 'a4' (layout(location=3 ) in int)
0:8 Branch: Return
0:8 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out int)
0:? 'a1' (layout(location=0 ) in int)
0:? 'a2' (layout(location=1 ) in int)
0:? 'a3' (layout(location=2 ) in int)
0:? 'a4' (layout(location=3 ) in int)
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.precise.frag.out
View file @
deb4940c
...
@@ -26,6 +26,7 @@ gl_FragCoord origin is upper left
...
@@ -26,6 +26,7 @@ gl_FragCoord origin is upper left
0:12 Branch: Return
0:12 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? 'precisefloat' (noContraction global float)
0:? 'precisefloat' (noContraction global float)
0:? '@entryPointOutput' (out structure{noContraction temp 4-component vector of float color})
Linked fragment stage:
Linked fragment stage:
...
@@ -58,6 +59,7 @@ gl_FragCoord origin is upper left
...
@@ -58,6 +59,7 @@ gl_FragCoord origin is upper left
0:12 Branch: Return
0:12 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? 'precisefloat' (noContraction global float)
0:? 'precisefloat' (noContraction global float)
0:? '@entryPointOutput' (out structure{noContraction temp 4-component vector of float color})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.promotions.frag.out
View file @
deb4940c
...
@@ -512,6 +512,7 @@ gl_FragCoord origin is upper left
...
@@ -512,6 +512,7 @@ gl_FragCoord origin is upper left
0:? 'fs' (uniform float)
0:? 'fs' (uniform float)
0:? 'us' (uniform uint)
0:? 'us' (uniform uint)
0:? 'ds' (uniform double)
0:? 'ds' (uniform double)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color})
Linked fragment stage:
Linked fragment stage:
...
@@ -1030,6 +1031,7 @@ gl_FragCoord origin is upper left
...
@@ -1030,6 +1031,7 @@ gl_FragCoord origin is upper left
0:? 'fs' (uniform float)
0:? 'fs' (uniform float)
0:? 'us' (uniform uint)
0:? 'us' (uniform uint)
0:? 'ds' (uniform double)
0:? 'ds' (uniform double)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.sample.array.dx10.frag.out
View file @
deb4940c
...
@@ -138,6 +138,7 @@ gl_FragCoord origin is upper left
...
@@ -138,6 +138,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4' (uniform textureCubeArray)
0:? 'g_tTexcdf4' (uniform textureCubeArray)
0:? 'g_tTexcdi4' (uniform itextureCubeArray)
0:? 'g_tTexcdi4' (uniform itextureCubeArray)
0:? 'g_tTexcdu4' (uniform utextureCubeArray)
0:? 'g_tTexcdu4' (uniform utextureCubeArray)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
Linked fragment stage:
Linked fragment stage:
...
@@ -282,6 +283,7 @@ gl_FragCoord origin is upper left
...
@@ -282,6 +283,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4' (uniform textureCubeArray)
0:? 'g_tTexcdf4' (uniform textureCubeArray)
0:? 'g_tTexcdi4' (uniform itextureCubeArray)
0:? 'g_tTexcdi4' (uniform itextureCubeArray)
0:? 'g_tTexcdu4' (uniform utextureCubeArray)
0:? 'g_tTexcdu4' (uniform utextureCubeArray)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.sample.basic.dx10.frag.out
View file @
deb4940c
...
@@ -253,6 +253,7 @@ gl_FragCoord origin is upper left
...
@@ -253,6 +253,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
Linked fragment stage:
Linked fragment stage:
...
@@ -510,6 +511,7 @@ gl_FragCoord origin is upper left
...
@@ -510,6 +511,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.sample.offset.dx10.frag.out
View file @
deb4940c
...
@@ -159,6 +159,7 @@ gl_FragCoord origin is upper left
...
@@ -159,6 +159,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
Linked fragment stage:
Linked fragment stage:
...
@@ -324,6 +325,7 @@ gl_FragCoord origin is upper left
...
@@ -324,6 +325,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.sample.offsetarray.dx10.frag.out
View file @
deb4940c
...
@@ -114,6 +114,7 @@ gl_FragCoord origin is upper left
...
@@ -114,6 +114,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTex2df4' (uniform texture2DArray)
0:? 'g_tTex2df4' (uniform texture2DArray)
0:? 'g_tTex2di4' (uniform itexture2DArray)
0:? 'g_tTex2di4' (uniform itexture2DArray)
0:? 'g_tTex2du4' (uniform utexture2DArray)
0:? 'g_tTex2du4' (uniform utexture2DArray)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
Linked fragment stage:
Linked fragment stage:
...
@@ -234,6 +235,7 @@ gl_FragCoord origin is upper left
...
@@ -234,6 +235,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTex2df4' (uniform texture2DArray)
0:? 'g_tTex2df4' (uniform texture2DArray)
0:? 'g_tTex2di4' (uniform itexture2DArray)
0:? 'g_tTex2di4' (uniform itexture2DArray)
0:? 'g_tTex2du4' (uniform utexture2DArray)
0:? 'g_tTex2du4' (uniform utexture2DArray)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.samplebias.array.dx10.frag.out
View file @
deb4940c
...
@@ -156,6 +156,7 @@ gl_FragCoord origin is upper left
...
@@ -156,6 +156,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4' (uniform textureCubeArray)
0:? 'g_tTexcdf4' (uniform textureCubeArray)
0:? 'g_tTexcdi4' (uniform itextureCubeArray)
0:? 'g_tTexcdi4' (uniform itextureCubeArray)
0:? 'g_tTexcdu4' (uniform utextureCubeArray)
0:? 'g_tTexcdu4' (uniform utextureCubeArray)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
Linked fragment stage:
Linked fragment stage:
...
@@ -318,6 +319,7 @@ gl_FragCoord origin is upper left
...
@@ -318,6 +319,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4' (uniform textureCubeArray)
0:? 'g_tTexcdf4' (uniform textureCubeArray)
0:? 'g_tTexcdi4' (uniform itextureCubeArray)
0:? 'g_tTexcdi4' (uniform itextureCubeArray)
0:? 'g_tTexcdu4' (uniform utextureCubeArray)
0:? 'g_tTexcdu4' (uniform utextureCubeArray)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.samplebias.basic.dx10.frag.out
View file @
deb4940c
...
@@ -189,6 +189,7 @@ gl_FragCoord origin is upper left
...
@@ -189,6 +189,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
Linked fragment stage:
Linked fragment stage:
...
@@ -384,6 +385,7 @@ gl_FragCoord origin is upper left
...
@@ -384,6 +385,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.samplebias.offset.dx10.frag.out
View file @
deb4940c
...
@@ -177,6 +177,7 @@ gl_FragCoord origin is upper left
...
@@ -177,6 +177,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
Linked fragment stage:
Linked fragment stage:
...
@@ -360,6 +361,7 @@ gl_FragCoord origin is upper left
...
@@ -360,6 +361,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.samplebias.offsetarray.dx10.frag.out
View file @
deb4940c
...
@@ -126,6 +126,7 @@ gl_FragCoord origin is upper left
...
@@ -126,6 +126,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTex2df4' (uniform texture2DArray)
0:? 'g_tTex2df4' (uniform texture2DArray)
0:? 'g_tTex2di4' (uniform itexture2DArray)
0:? 'g_tTex2di4' (uniform itexture2DArray)
0:? 'g_tTex2du4' (uniform utexture2DArray)
0:? 'g_tTex2du4' (uniform utexture2DArray)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
Linked fragment stage:
Linked fragment stage:
...
@@ -258,6 +259,7 @@ gl_FragCoord origin is upper left
...
@@ -258,6 +259,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTex2df4' (uniform texture2DArray)
0:? 'g_tTex2df4' (uniform texture2DArray)
0:? 'g_tTex2di4' (uniform itexture2DArray)
0:? 'g_tTex2di4' (uniform itexture2DArray)
0:? 'g_tTex2du4' (uniform utexture2DArray)
0:? 'g_tTex2du4' (uniform utexture2DArray)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.samplecmp.array.dx10.frag.out
View file @
deb4940c
...
@@ -176,6 +176,7 @@ gl_FragCoord origin is upper left
...
@@ -176,6 +176,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
Linked fragment stage:
Linked fragment stage:
...
@@ -358,6 +359,7 @@ gl_FragCoord origin is upper left
...
@@ -358,6 +359,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.samplecmp.basic.dx10.frag.out
View file @
deb4940c
...
@@ -167,6 +167,7 @@ gl_FragCoord origin is upper left
...
@@ -167,6 +167,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
Linked fragment stage:
Linked fragment stage:
...
@@ -340,6 +341,7 @@ gl_FragCoord origin is upper left
...
@@ -340,6 +341,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.samplecmp.offset.dx10.frag.out
View file @
deb4940c
...
@@ -140,6 +140,7 @@ gl_FragCoord origin is upper left
...
@@ -140,6 +140,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
Linked fragment stage:
Linked fragment stage:
...
@@ -286,6 +287,7 @@ gl_FragCoord origin is upper left
...
@@ -286,6 +287,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.samplecmp.offsetarray.dx10.frag.out
View file @
deb4940c
...
@@ -146,6 +146,7 @@ gl_FragCoord origin is upper left
...
@@ -146,6 +146,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
Linked fragment stage:
Linked fragment stage:
...
@@ -298,6 +299,7 @@ gl_FragCoord origin is upper left
...
@@ -298,6 +299,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.samplecmplevelzero.array.dx10.frag.out
View file @
deb4940c
...
@@ -194,6 +194,7 @@ gl_FragCoord origin is upper left
...
@@ -194,6 +194,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
Linked fragment stage:
Linked fragment stage:
...
@@ -394,6 +395,7 @@ gl_FragCoord origin is upper left
...
@@ -394,6 +395,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.samplecmplevelzero.basic.dx10.frag.out
View file @
deb4940c
...
@@ -185,6 +185,7 @@ gl_FragCoord origin is upper left
...
@@ -185,6 +185,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
Linked fragment stage:
Linked fragment stage:
...
@@ -376,6 +377,7 @@ gl_FragCoord origin is upper left
...
@@ -376,6 +377,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.samplecmplevelzero.offset.dx10.frag.out
View file @
deb4940c
...
@@ -152,6 +152,7 @@ gl_FragCoord origin is upper left
...
@@ -152,6 +152,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
Linked fragment stage:
Linked fragment stage:
...
@@ -310,6 +311,7 @@ gl_FragCoord origin is upper left
...
@@ -310,6 +311,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.samplecmplevelzero.offsetarray.dx10.frag.out
View file @
deb4940c
...
@@ -158,6 +158,7 @@ gl_FragCoord origin is upper left
...
@@ -158,6 +158,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
Linked fragment stage:
Linked fragment stage:
...
@@ -322,6 +323,7 @@ gl_FragCoord origin is upper left
...
@@ -322,6 +323,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.samplegrad.array.dx10.frag.out
View file @
deb4940c
...
@@ -192,6 +192,7 @@ gl_FragCoord origin is upper left
...
@@ -192,6 +192,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4' (uniform textureCubeArray)
0:? 'g_tTexcdf4' (uniform textureCubeArray)
0:? 'g_tTexcdi4' (uniform itextureCubeArray)
0:? 'g_tTexcdi4' (uniform itextureCubeArray)
0:? 'g_tTexcdu4' (uniform utextureCubeArray)
0:? 'g_tTexcdu4' (uniform utextureCubeArray)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
Linked fragment stage:
Linked fragment stage:
...
@@ -390,6 +391,7 @@ gl_FragCoord origin is upper left
...
@@ -390,6 +391,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4' (uniform textureCubeArray)
0:? 'g_tTexcdf4' (uniform textureCubeArray)
0:? 'g_tTexcdi4' (uniform itextureCubeArray)
0:? 'g_tTexcdi4' (uniform itextureCubeArray)
0:? 'g_tTexcdu4' (uniform utextureCubeArray)
0:? 'g_tTexcdu4' (uniform utextureCubeArray)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.samplegrad.basic.dx10.frag.out
View file @
deb4940c
...
@@ -243,6 +243,7 @@ gl_FragCoord origin is upper left
...
@@ -243,6 +243,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
Linked fragment stage:
Linked fragment stage:
...
@@ -492,6 +493,7 @@ gl_FragCoord origin is upper left
...
@@ -492,6 +493,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.samplegrad.basic.dx10.vert.out
View file @
deb4940c
...
@@ -235,6 +235,7 @@ Shader version: 450
...
@@ -235,6 +235,7 @@ Shader version: 450
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Position Pos})
Linked vertex stage:
Linked vertex stage:
...
@@ -476,6 +477,7 @@ Shader version: 450
...
@@ -476,6 +477,7 @@ Shader version: 450
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Position Pos})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.samplegrad.offset.dx10.frag.out
View file @
deb4940c
...
@@ -213,6 +213,7 @@ gl_FragCoord origin is upper left
...
@@ -213,6 +213,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
Linked fragment stage:
Linked fragment stage:
...
@@ -432,6 +433,7 @@ gl_FragCoord origin is upper left
...
@@ -432,6 +433,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.samplegrad.offsetarray.dx10.frag.out
View file @
deb4940c
...
@@ -147,6 +147,7 @@ gl_FragCoord origin is upper left
...
@@ -147,6 +147,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4' (uniform textureCubeArray)
0:? 'g_tTexcdf4' (uniform textureCubeArray)
0:? 'g_tTexcdi4' (uniform itextureCubeArray)
0:? 'g_tTexcdi4' (uniform itextureCubeArray)
0:? 'g_tTexcdu4' (uniform utextureCubeArray)
0:? 'g_tTexcdu4' (uniform utextureCubeArray)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
Linked fragment stage:
Linked fragment stage:
...
@@ -300,6 +301,7 @@ gl_FragCoord origin is upper left
...
@@ -300,6 +301,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4' (uniform textureCubeArray)
0:? 'g_tTexcdf4' (uniform textureCubeArray)
0:? 'g_tTexcdi4' (uniform itextureCubeArray)
0:? 'g_tTexcdi4' (uniform itextureCubeArray)
0:? 'g_tTexcdu4' (uniform utextureCubeArray)
0:? 'g_tTexcdu4' (uniform utextureCubeArray)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.samplelevel.array.dx10.frag.out
View file @
deb4940c
...
@@ -156,6 +156,7 @@ gl_FragCoord origin is upper left
...
@@ -156,6 +156,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
Linked fragment stage:
Linked fragment stage:
...
@@ -318,6 +319,7 @@ gl_FragCoord origin is upper left
...
@@ -318,6 +319,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.samplelevel.basic.dx10.frag.out
View file @
deb4940c
...
@@ -190,6 +190,7 @@ gl_FragCoord origin is upper left
...
@@ -190,6 +190,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
Linked fragment stage:
Linked fragment stage:
...
@@ -386,6 +387,7 @@ gl_FragCoord origin is upper left
...
@@ -386,6 +387,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.samplelevel.basic.dx10.vert.out
View file @
deb4940c
...
@@ -181,6 +181,7 @@ Shader version: 450
...
@@ -181,6 +181,7 @@ Shader version: 450
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Position Pos})
Linked vertex stage:
Linked vertex stage:
...
@@ -368,6 +369,7 @@ Shader version: 450
...
@@ -368,6 +369,7 @@ Shader version: 450
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Position Pos})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.samplelevel.offset.dx10.frag.out
View file @
deb4940c
...
@@ -177,6 +177,7 @@ gl_FragCoord origin is upper left
...
@@ -177,6 +177,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
Linked fragment stage:
Linked fragment stage:
...
@@ -360,6 +361,7 @@ gl_FragCoord origin is upper left
...
@@ -360,6 +361,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.samplelevel.offsetarray.dx10.frag.out
View file @
deb4940c
...
@@ -126,6 +126,7 @@ gl_FragCoord origin is upper left
...
@@ -126,6 +126,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTex2df4' (uniform texture2DArray)
0:? 'g_tTex2df4' (uniform texture2DArray)
0:? 'g_tTex2di4' (uniform itexture2DArray)
0:? 'g_tTex2di4' (uniform itexture2DArray)
0:? 'g_tTex2du4' (uniform utexture2DArray)
0:? 'g_tTex2du4' (uniform utexture2DArray)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
Linked fragment stage:
Linked fragment stage:
...
@@ -258,6 +259,7 @@ gl_FragCoord origin is upper left
...
@@ -258,6 +259,7 @@ gl_FragCoord origin is upper left
0:? 'g_tTex2df4' (uniform texture2DArray)
0:? 'g_tTex2df4' (uniform texture2DArray)
0:? 'g_tTex2di4' (uniform itexture2DArray)
0:? 'g_tTex2di4' (uniform itexture2DArray)
0:? 'g_tTex2du4' (uniform utexture2DArray)
0:? 'g_tTex2du4' (uniform utexture2DArray)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.scope.frag.out
View file @
deb4940c
...
@@ -38,6 +38,7 @@ gl_FragCoord origin is upper left
...
@@ -38,6 +38,7 @@ gl_FragCoord origin is upper left
0:29 0 (const int)
0:29 0 (const int)
0:27 No loop body
0:27 No loop body
0:? Linker Objects
0:? Linker Objects
0:? 'input' (layout(location=0 ) in 4-component vector of float)
Linked fragment stage:
Linked fragment stage:
...
@@ -82,21 +83,24 @@ gl_FragCoord origin is upper left
...
@@ -82,21 +83,24 @@ gl_FragCoord origin is upper left
0:29 0 (const int)
0:29 0 (const int)
0:27 No loop body
0:27 No loop body
0:? Linker Objects
0:? Linker Objects
0:? 'input' (layout(location=0 ) in 4-component vector of float)
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
// Id's are bound by 3
6
// Id's are bound by 3
9
Capability Shader
Capability Shader
1: ExtInstImport "GLSL.std.450"
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "PixelShaderFunction"
EntryPoint Fragment 4 "PixelShaderFunction"
38
ExecutionMode 4 OriginUpperLeft
ExecutionMode 4 OriginUpperLeft
Name 4 "PixelShaderFunction"
Name 4 "PixelShaderFunction"
Name 8 "x"
Name 8 "x"
Name 11 "x"
Name 11 "x"
Name 14 "x"
Name 14 "x"
Name 17 "x"
Name 17 "x"
Name 38 "input"
Decorate 38(input) Location 0
2: TypeVoid
2: TypeVoid
3: TypeFunction 2
3: TypeFunction 2
6: TypeInt 32 1
6: TypeInt 32 1
...
@@ -108,6 +112,9 @@ gl_FragCoord origin is upper left
...
@@ -108,6 +112,9 @@ gl_FragCoord origin is upper left
15: TypeVector 9(float) 3
15: TypeVector 9(float) 3
16: TypePointer Function 15(fvec3)
16: TypePointer Function 15(fvec3)
19: 6(int) Constant 0
19: 6(int) Constant 0
36: TypeVector 9(float) 4
37: TypePointer Input 36(fvec4)
38(input): 37(ptr) Variable Input
4(PixelShaderFunction): 2 Function None 3
4(PixelShaderFunction): 2 Function None 3
5: Label
5: Label
8(x): 7(ptr) Variable Function
8(x): 7(ptr) Variable Function
...
...
Test/baseResults/hlsl.semicolons.frag.out
View file @
deb4940c
...
@@ -25,6 +25,7 @@ gl_FragCoord origin is upper left
...
@@ -25,6 +25,7 @@ gl_FragCoord origin is upper left
0:17 'ps_output' (temp structure{temp 4-component vector of float color})
0:17 'ps_output' (temp structure{temp 4-component vector of float color})
0:17 Branch: Return
0:17 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out structure{temp 4-component vector of float color})
Linked fragment stage:
Linked fragment stage:
...
@@ -56,6 +57,7 @@ gl_FragCoord origin is upper left
...
@@ -56,6 +57,7 @@ gl_FragCoord origin is upper left
0:17 'ps_output' (temp structure{temp 4-component vector of float color})
0:17 'ps_output' (temp structure{temp 4-component vector of float color})
0:17 Branch: Return
0:17 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out structure{temp 4-component vector of float color})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.sin.frag.out
View file @
deb4940c
...
@@ -13,6 +13,8 @@ gl_FragCoord origin is upper left
...
@@ -13,6 +13,8 @@ gl_FragCoord origin is upper left
0:3 'input' (layout(location=0 ) in 4-component vector of float)
0:3 'input' (layout(location=0 ) in 4-component vector of float)
0:3 Branch: Return
0:3 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out 4-component vector of float)
0:? 'input' (layout(location=0 ) in 4-component vector of float)
Linked fragment stage:
Linked fragment stage:
...
@@ -32,6 +34,8 @@ gl_FragCoord origin is upper left
...
@@ -32,6 +34,8 @@ gl_FragCoord origin is upper left
0:3 'input' (layout(location=0 ) in 4-component vector of float)
0:3 'input' (layout(location=0 ) in 4-component vector of float)
0:3 Branch: Return
0:3 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out 4-component vector of float)
0:? 'input' (layout(location=0 ) in 4-component vector of float)
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.stringtoken.frag.out
View file @
deb4940c
...
@@ -23,6 +23,7 @@ gl_FragCoord origin is upper left
...
@@ -23,6 +23,7 @@ gl_FragCoord origin is upper left
0:? Linker Objects
0:? Linker Objects
0:? 'TestTexture' (uniform texture2D)
0:? 'TestTexture' (uniform texture2D)
0:? 'TestUF' (uniform 4-component vector of float)
0:? 'TestUF' (uniform 4-component vector of float)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color})
Linked fragment stage:
Linked fragment stage:
...
@@ -52,6 +53,7 @@ gl_FragCoord origin is upper left
...
@@ -52,6 +53,7 @@ gl_FragCoord origin is upper left
0:? Linker Objects
0:? Linker Objects
0:? 'TestTexture' (uniform texture2D)
0:? 'TestTexture' (uniform texture2D)
0:? 'TestUF' (uniform 4-component vector of float)
0:? 'TestUF' (uniform 4-component vector of float)
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color})
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.struct.frag.out
View file @
deb4940c
...
@@ -33,6 +33,8 @@ gl_FragCoord origin is upper left
...
@@ -33,6 +33,8 @@ gl_FragCoord origin is upper left
0:? 's4' (global structure{smooth in 4-component vector of float a, flat temp bool b, centroid noperspective temp 1-component vector of float c, centroid sample temp 2-component vector of float d, temp bool Face ff1, layout(offset=4 ) temp bool ff2, layout(binding=0 offset=4 ) temp bool ff3, layout(binding=0 offset=4 ) temp 4-component vector of float ff4})
0:? 's4' (global structure{smooth in 4-component vector of float a, flat temp bool b, centroid noperspective temp 1-component vector of float c, centroid sample temp 2-component vector of float d, temp bool Face ff1, layout(offset=4 ) temp bool ff2, layout(binding=0 offset=4 ) temp bool ff3, layout(binding=0 offset=4 ) temp 4-component vector of float ff4})
0:? 'ff5' (layout(binding=5 offset=20 ) global 3-component vector of float)
0:? 'ff5' (layout(binding=5 offset=20 ) global 3-component vector of float)
0:? 'ff6' (layout(binding=8 offset=36 ) global 3-component vector of float)
0:? 'ff6' (layout(binding=8 offset=36 ) global 3-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:? 'input' (layout(location=0 ) in 4-component vector of float)
Linked fragment stage:
Linked fragment stage:
...
@@ -68,6 +70,8 @@ gl_FragCoord origin is upper left
...
@@ -68,6 +70,8 @@ gl_FragCoord origin is upper left
0:? 's4' (global structure{smooth in 4-component vector of float a, flat temp bool b, centroid noperspective temp 1-component vector of float c, centroid sample temp 2-component vector of float d, temp bool Face ff1, layout(offset=4 ) temp bool ff2, layout(binding=0 offset=4 ) temp bool ff3, layout(binding=0 offset=4 ) temp 4-component vector of float ff4})
0:? 's4' (global structure{smooth in 4-component vector of float a, flat temp bool b, centroid noperspective temp 1-component vector of float c, centroid sample temp 2-component vector of float d, temp bool Face ff1, layout(offset=4 ) temp bool ff2, layout(binding=0 offset=4 ) temp bool ff3, layout(binding=0 offset=4 ) temp 4-component vector of float ff4})
0:? 'ff5' (layout(binding=5 offset=20 ) global 3-component vector of float)
0:? 'ff5' (layout(binding=5 offset=20 ) global 3-component vector of float)
0:? 'ff6' (layout(binding=8 offset=36 ) global 3-component vector of float)
0:? 'ff6' (layout(binding=8 offset=36 ) global 3-component vector of float)
0:? '@entryPointOutput' (out 4-component vector of float)
0:? 'input' (layout(location=0 ) in 4-component vector of float)
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.structin.vert.out
View file @
deb4940c
...
@@ -32,6 +32,11 @@ Shader version: 450
...
@@ -32,6 +32,11 @@ Shader version: 450
0:8 'e' (layout(location=4 ) in 4-component vector of float)
0:8 'e' (layout(location=4 ) in 4-component vector of float)
0:8 Branch: Return
0:8 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out 4-component vector of float Position)
0:? 'd' (layout(location=0 ) in 4-component vector of float)
0:? 'm' (layout(location=1 ) in 2-element array of 4-component vector of float)
0:? 'coord' (layout(location=3 ) in 2-component vector of uint)
0:? 'e' (layout(location=4 ) in 4-component vector of float)
Linked vertex stage:
Linked vertex stage:
...
@@ -70,6 +75,11 @@ Shader version: 450
...
@@ -70,6 +75,11 @@ Shader version: 450
0:8 'e' (layout(location=4 ) in 4-component vector of float)
0:8 'e' (layout(location=4 ) in 4-component vector of float)
0:8 Branch: Return
0:8 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out 4-component vector of float Position)
0:? 'd' (layout(location=0 ) in 4-component vector of float)
0:? 'm' (layout(location=1 ) in 2-element array of 4-component vector of float)
0:? 'coord' (layout(location=3 ) in 2-component vector of uint)
0:? 'e' (layout(location=4 ) in 4-component vector of float)
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.switch.frag.out
View file @
deb4940c
...
@@ -125,6 +125,10 @@ gl_FragCoord origin is upper left
...
@@ -125,6 +125,10 @@ gl_FragCoord origin is upper left
0:54 'input' (layout(location=0 ) in 4-component vector of float)
0:54 'input' (layout(location=0 ) in 4-component vector of float)
0:54 Branch: Return
0:54 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out 4-component vector of float)
0:? 'input' (layout(location=0 ) in 4-component vector of float)
0:? 'c' (layout(location=1 ) in int)
0:? 'd' (layout(location=2 ) in int)
Linked fragment stage:
Linked fragment stage:
...
@@ -256,6 +260,10 @@ gl_FragCoord origin is upper left
...
@@ -256,6 +260,10 @@ gl_FragCoord origin is upper left
0:54 'input' (layout(location=0 ) in 4-component vector of float)
0:54 'input' (layout(location=0 ) in 4-component vector of float)
0:54 Branch: Return
0:54 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out 4-component vector of float)
0:? 'input' (layout(location=0 ) in 4-component vector of float)
0:? 'c' (layout(location=1 ) in int)
0:? 'd' (layout(location=2 ) in int)
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.templatetypes.frag.out
View file @
deb4940c
...
@@ -246,6 +246,7 @@ gl_FragCoord origin is upper left
...
@@ -246,6 +246,7 @@ gl_FragCoord origin is upper left
0:45 0.000000
0:45 0.000000
0:45 Branch: Return
0:45 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out float)
Linked fragment stage:
Linked fragment stage:
...
@@ -498,6 +499,7 @@ gl_FragCoord origin is upper left
...
@@ -498,6 +499,7 @@ gl_FragCoord origin is upper left
0:45 0.000000
0:45 0.000000
0:45 Branch: Return
0:45 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out float)
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/hlsl.void.frag.out
View file @
deb4940c
...
@@ -14,6 +14,7 @@ gl_FragCoord origin is upper left
...
@@ -14,6 +14,7 @@ gl_FragCoord origin is upper left
0:7 Function Call: foo2( (global void)
0:7 Function Call: foo2( (global void)
0:8 Branch: Return
0:8 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? 'input' (layout(location=0 ) in 4-component vector of float)
Linked fragment stage:
Linked fragment stage:
...
@@ -34,21 +35,28 @@ gl_FragCoord origin is upper left
...
@@ -34,21 +35,28 @@ gl_FragCoord origin is upper left
0:7 Function Call: foo2( (global void)
0:7 Function Call: foo2( (global void)
0:8 Branch: Return
0:8 Branch: Return
0:? Linker Objects
0:? Linker Objects
0:? 'input' (layout(location=0 ) in 4-component vector of float)
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
// Id's are bound by 1
3
// Id's are bound by 1
7
Capability Shader
Capability Shader
1: ExtInstImport "GLSL.std.450"
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "PixelShaderFunction"
EntryPoint Fragment 4 "PixelShaderFunction"
16
ExecutionMode 4 OriginUpperLeft
ExecutionMode 4 OriginUpperLeft
Name 4 "PixelShaderFunction"
Name 4 "PixelShaderFunction"
Name 6 "foo1("
Name 6 "foo1("
Name 8 "foo2("
Name 8 "foo2("
Name 16 "input"
Decorate 16(input) Location 0
2: TypeVoid
2: TypeVoid
3: TypeFunction 2
3: TypeFunction 2
13: TypeFloat 32
14: TypeVector 13(float) 4
15: TypePointer Input 14(fvec4)
16(input): 15(ptr) Variable Input
4(PixelShaderFunction): 2 Function None 3
4(PixelShaderFunction): 2 Function None 3
5: Label
5: Label
10: 2 FunctionCall 6(foo1()
10: 2 FunctionCall 6(foo1()
...
...
Test/baseResults/hlsl.whileLoop.frag.out
View file @
deb4940c
...
@@ -34,6 +34,8 @@ gl_FragCoord origin is upper left
...
@@ -34,6 +34,8 @@ gl_FragCoord origin is upper left
0:6 false (const bool)
0:6 false (const bool)
0:6 No loop body
0:6 No loop body
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out 4-component vector of float)
0:? 'input' (layout(location=0 ) in 4-component vector of float)
Linked fragment stage:
Linked fragment stage:
...
@@ -74,6 +76,8 @@ gl_FragCoord origin is upper left
...
@@ -74,6 +76,8 @@ gl_FragCoord origin is upper left
0:6 false (const bool)
0:6 false (const bool)
0:6 No loop body
0:6 No loop body
0:? Linker Objects
0:? Linker Objects
0:? '@entryPointOutput' (out 4-component vector of float)
0:? 'input' (layout(location=0 ) in 4-component vector of float)
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
...
...
Test/baseResults/remap.hlsl.templatetypes.everything.frag.out
View file @
deb4940c
...
@@ -11,12 +11,18 @@ Linked fragment stage:
...
@@ -11,12 +11,18 @@ Linked fragment stage:
Capability Float64
Capability Float64
1: ExtInstImport "GLSL.std.450"
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
MemoryModel Logical GLSL450
EntryPoint Fragment 5663 "main"
EntryPoint Fragment 5663 "main"
4045 4872
ExecutionMode 5663 OriginUpperLeft
ExecutionMode 5663 OriginUpperLeft
Decorate 4872 Location 0
8: TypeVoid
8: TypeVoid
1282: TypeFunction 8
1282: TypeFunction 8
13: TypeFloat 32
13: TypeFloat 32
29: TypeVector 13(float) 4
2572: 13(float) Constant 0
2572: 13(float) Constant 0
666: TypePointer Output 29(fvec4)
4045: 666(ptr) Variable Output
667: TypePointer Input 29(fvec4)
4872: 667(ptr) Variable Input
5663: 8 Function None 1282
5663: 8 Function None 1282
16122: Label
16122: Label
ReturnValue 2572
ReturnValue 2572
...
...
Test/baseResults/remap.hlsl.templatetypes.none.frag.out
View file @
deb4940c
...
@@ -5,13 +5,13 @@ Linked fragment stage:
...
@@ -5,13 +5,13 @@ Linked fragment stage:
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 80001
// Generated by (magic number): 80001
// Id's are bound by 14
5
// Id's are bound by 14
9
Capability Shader
Capability Shader
Capability Float64
Capability Float64
1: ExtInstImport "GLSL.std.450"
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
EntryPoint Fragment 4 "main"
146 148
ExecutionMode 4 OriginUpperLeft
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 4 "main"
Name 9 "r00"
Name 9 "r00"
...
@@ -42,6 +42,9 @@ Linked fragment stage:
...
@@ -42,6 +42,9 @@ Linked fragment stage:
Name 130 "r62"
Name 130 "r62"
Name 136 "r65"
Name 136 "r65"
Name 141 "r66"
Name 141 "r66"
Name 146 "@entryPointOutput"
Name 148 "input"
Decorate 148(input) Location 0
2: TypeVoid
2: TypeVoid
3: TypeFunction 2
3: TypeFunction 2
6: TypeFloat 32
6: TypeFloat 32
...
@@ -155,6 +158,10 @@ Linked fragment stage:
...
@@ -155,6 +158,10 @@ Linked fragment stage:
142: 69(fvec3) ConstantComposite 109 111 112
142: 69(fvec3) ConstantComposite 109 111 112
143: 69(fvec3) ConstantComposite 113 114 116
143: 69(fvec3) ConstantComposite 113 114 116
144: 139 ConstantComposite 72 126 142 143
144: 139 ConstantComposite 72 126 142 143
145: TypePointer Output 7(fvec4)
146(@entryPointOutput): 145(ptr) Variable Output
147: TypePointer Input 7(fvec4)
148(input): 147(ptr) Variable Input
4(main): 2 Function None 3
4(main): 2 Function None 3
5: Label
5: Label
9(r00): 8(ptr) Variable Function
9(r00): 8(ptr) Variable Function
...
...
glslang/Include/revision.h
View file @
deb4940c
...
@@ -2,5 +2,5 @@
...
@@ -2,5 +2,5 @@
// For the version, it uses the latest git tag followed by the number of commits.
// For the version, it uses the latest git tag followed by the number of commits.
// For the date, it uses the current date (when then script is run).
// For the date, it uses the current date (when then script is run).
#define GLSLANG_REVISION "Overload400-PrecQual.148
1
"
#define GLSLANG_REVISION "Overload400-PrecQual.148
2
"
#define GLSLANG_DATE "1
1
-Sep-2016"
#define GLSLANG_DATE "1
2
-Sep-2016"
hlsl/hlslParseHelper.cpp
View file @
deb4940c
...
@@ -702,6 +702,9 @@ TIntermTyped* HlslParseContext::handleDotDereference(const TSourceLoc& loc, TInt
...
@@ -702,6 +702,9 @@ TIntermTyped* HlslParseContext::handleDotDereference(const TSourceLoc& loc, TInt
// E.g., pipeline inputs to the vertex stage and outputs from the fragment stage.
// E.g., pipeline inputs to the vertex stage and outputs from the fragment stage.
bool
HlslParseContext
::
shouldFlatten
(
const
TType
&
type
)
bool
HlslParseContext
::
shouldFlatten
(
const
TType
&
type
)
{
{
if
(
!
inEntrypoint
)
return
false
;
const
TStorageQualifier
qualifier
=
type
.
getQualifier
().
storage
;
const
TStorageQualifier
qualifier
=
type
.
getQualifier
().
storage
;
return
type
.
isStruct
()
&&
return
type
.
isStruct
()
&&
...
@@ -727,6 +730,7 @@ void HlslParseContext::flattenStruct(const TVariable& variable)
...
@@ -727,6 +730,7 @@ void HlslParseContext::flattenStruct(const TVariable& variable)
memberVariable
->
getWritableType
().
getQualifier
().
layoutLocation
=
location
;
memberVariable
->
getWritableType
().
getQualifier
().
layoutLocation
=
location
;
location
+=
intermediate
.
computeTypeLocationSize
(
memberVariable
->
getType
());
location
+=
intermediate
.
computeTypeLocationSize
(
memberVariable
->
getType
());
memberVariables
.
push_back
(
memberVariable
);
memberVariables
.
push_back
(
memberVariable
);
intermediate
.
addSymbolLinkageNode
(
linkage
,
*
memberVariable
);
}
}
flattenMap
[
variable
.
getUniqueId
()]
=
memberVariables
;
flattenMap
[
variable
.
getUniqueId
()]
=
memberVariables
;
...
@@ -855,6 +859,8 @@ TIntermAggregate* HlslParseContext::handleFunctionDefinition(const TSourceLoc& l
...
@@ -855,6 +859,8 @@ TIntermAggregate* HlslParseContext::handleFunctionDefinition(const TSourceLoc& l
if
(
shouldFlatten
(
*
param
.
type
))
if
(
shouldFlatten
(
*
param
.
type
))
flattenStruct
(
*
variable
);
flattenStruct
(
*
variable
);
else
if
(
inEntrypoint
)
intermediate
.
addSymbolLinkageNode
(
linkage
,
*
variable
);
}
}
}
else
}
else
paramNodes
=
intermediate
.
growAggregate
(
paramNodes
,
intermediate
.
addSymbol
(
*
param
.
type
,
loc
),
loc
);
paramNodes
=
intermediate
.
growAggregate
(
paramNodes
,
intermediate
.
addSymbol
(
*
param
.
type
,
loc
),
loc
);
...
@@ -907,6 +913,7 @@ void HlslParseContext::remapEntrypointIO(TFunction& function)
...
@@ -907,6 +913,7 @@ void HlslParseContext::remapEntrypointIO(TFunction& function)
if
(
function
.
getType
().
getBasicType
()
!=
EbtVoid
)
{
if
(
function
.
getType
().
getBasicType
()
!=
EbtVoid
)
{
entryPointOutput
=
makeInternalVariable
(
"@entryPointOutput"
,
function
.
getType
());
entryPointOutput
=
makeInternalVariable
(
"@entryPointOutput"
,
function
.
getType
());
entryPointOutput
->
getWritableType
().
getQualifier
().
storage
=
EvqVaryingOut
;
entryPointOutput
->
getWritableType
().
getQualifier
().
storage
=
EvqVaryingOut
;
intermediate
.
addSymbolLinkageNode
(
linkage
,
*
entryPointOutput
);
if
(
function
.
getType
().
getQualifier
().
builtIn
==
EbvNone
)
{
if
(
function
.
getType
().
getQualifier
().
builtIn
==
EbvNone
)
{
entryPointOutput
->
getWritableType
().
getQualifier
().
layoutLocation
=
outCount
;
entryPointOutput
->
getWritableType
().
getQualifier
().
layoutLocation
=
outCount
;
outCount
+=
intermediate
.
computeTypeLocationSize
(
function
.
getType
());
outCount
+=
intermediate
.
computeTypeLocationSize
(
function
.
getType
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment