hlsl.samplegrad.offsetarray.dx10.frag Shader version: 500 gl_FragCoord origin is upper left using depth_any 0:? Sequence 0:24 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:24 Function Parameters: 0:? Sequence 0:27 Sequence 0:27 move second child to first child ( temp 4-component vector of float) 0:27 'txval10' ( temp 4-component vector of float) 0:27 textureGradOffset ( temp 4-component vector of float) 0:27 Construct combined texture-sampler ( temp sampler1DArray) 0:27 'g_tTex1df4' (layout( binding=0) uniform texture1DArray) 0:27 'g_sSamp' (layout( binding=0) uniform sampler) 0:27 Constant: 0:27 0.100000 0:27 0.200000 0:27 Constant: 0:27 1.100000 0:27 Constant: 0:27 1.200000 0:27 Constant: 0:27 1 (const int) 0:28 Sequence 0:28 move second child to first child ( temp 4-component vector of int) 0:28 'txval11' ( temp 4-component vector of int) 0:28 textureGradOffset ( temp 4-component vector of int) 0:28 Construct combined texture-sampler ( temp isampler1DArray) 0:28 'g_tTex1di4' ( uniform itexture1DArray) 0:28 'g_sSamp' (layout( binding=0) uniform sampler) 0:28 Constant: 0:28 0.100000 0:28 0.200000 0:28 Constant: 0:28 1.100000 0:28 Constant: 0:28 1.200000 0:28 Constant: 0:28 1 (const int) 0:29 Sequence 0:29 move second child to first child ( temp 4-component vector of uint) 0:29 'txval12' ( temp 4-component vector of uint) 0:29 textureGradOffset ( temp 4-component vector of uint) 0:29 Construct combined texture-sampler ( temp usampler1DArray) 0:29 'g_tTex1du4' ( uniform utexture1DArray) 0:29 'g_sSamp' (layout( binding=0) uniform sampler) 0:29 Constant: 0:29 0.100000 0:29 0.200000 0:29 Constant: 0:29 1.100000 0:29 Constant: 0:29 1.200000 0:29 Constant: 0:29 1 (const int) 0:31 Sequence 0:31 move second child to first child ( temp 4-component vector of float) 0:31 'txval20' ( temp 4-component vector of float) 0:31 textureGradOffset ( temp 4-component vector of float) 0:31 Construct combined texture-sampler ( temp sampler2DArray) 0:31 'g_tTex2df4' ( uniform texture2DArray) 0:31 'g_sSamp' (layout( binding=0) uniform sampler) 0:31 Constant: 0:31 0.100000 0:31 0.200000 0:31 0.300000 0:31 Constant: 0:31 1.100000 0:31 1.200000 0:31 Constant: 0:31 1.100000 0:31 1.200000 0:31 Constant: 0:31 1 (const int) 0:31 0 (const int) 0:32 Sequence 0:32 move second child to first child ( temp 4-component vector of int) 0:32 'txval21' ( temp 4-component vector of int) 0:32 textureGradOffset ( temp 4-component vector of int) 0:32 Construct combined texture-sampler ( temp isampler2DArray) 0:32 'g_tTex2di4' ( uniform itexture2DArray) 0:32 'g_sSamp' (layout( binding=0) uniform sampler) 0:32 Constant: 0:32 0.100000 0:32 0.200000 0:32 0.300000 0:32 Constant: 0:32 1.100000 0:32 1.200000 0:32 Constant: 0:32 1.100000 0:32 1.200000 0:32 Constant: 0:32 1 (const int) 0:32 0 (const int) 0:33 Sequence 0:33 move second child to first child ( temp 4-component vector of uint) 0:33 'txval22' ( temp 4-component vector of uint) 0:33 textureGradOffset ( temp 4-component vector of uint) 0:33 Construct combined texture-sampler ( temp usampler2DArray) 0:33 'g_tTex2du4' ( uniform utexture2DArray) 0:33 'g_sSamp' (layout( binding=0) uniform sampler) 0:33 Constant: 0:33 0.100000 0:33 0.200000 0:33 0.300000 0:33 Constant: 0:33 1.100000 0:33 1.200000 0:33 Constant: 0:33 1.100000 0:33 1.200000 0:33 Constant: 0:33 1 (const int) 0:33 0 (const int) 0:35 move second child to first child ( temp 4-component vector of float) 0:35 Color: direct index for structure ( temp 4-component vector of float) 0:35 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:35 Constant: 0:35 0 (const int) 0:35 Constant: 0:35 1.000000 0:35 1.000000 0:35 1.000000 0:35 1.000000 0:36 move second child to first child ( temp float) 0:36 Depth: direct index for structure ( temp float) 0:36 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:36 Constant: 0:36 1 (const int) 0:36 Constant: 0:36 1.000000 0:38 Branch: Return with expression 0:38 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:24 Function Definition: main( ( temp void) 0:24 Function Parameters: 0:? Sequence 0:24 Sequence 0:24 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:24 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:24 move second child to first child ( temp 4-component vector of float) 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 0:24 Color: direct index for structure ( temp 4-component vector of float) 0:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:24 Constant: 0:24 0 (const int) 0:24 move second child to first child ( temp float) 0:? '@entryPointOutput.Depth' ( out float FragDepth) 0:24 Depth: direct index for structure ( temp float) 0:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:24 Constant: 0:24 1 (const int) 0:? Linker Objects 0:? 'g_sSamp' (layout( binding=0) uniform sampler) 0:? 'g_tTex1df4a' (layout( binding=1) uniform texture1DArray) 0:? 'g_tTex1df4' (layout( binding=0) uniform texture1DArray) 0:? 'g_tTex1di4' ( uniform itexture1DArray) 0:? 'g_tTex1du4' ( uniform utexture1DArray) 0:? 'g_tTex2df4' ( uniform texture2DArray) 0:? 'g_tTex2di4' ( uniform itexture2DArray) 0:? 'g_tTex2du4' ( uniform utexture2DArray) 0:? 'g_tTexcdf4' ( uniform textureCubeArray) 0:? 'g_tTexcdi4' ( uniform itextureCubeArray) 0:? 'g_tTexcdu4' ( uniform utextureCubeArray) 0:? '@entryPointOutput.Depth' ( out float FragDepth) 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) Linked fragment stage: Shader version: 500 gl_FragCoord origin is upper left using depth_any 0:? Sequence 0:24 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:24 Function Parameters: 0:? Sequence 0:27 Sequence 0:27 move second child to first child ( temp 4-component vector of float) 0:27 'txval10' ( temp 4-component vector of float) 0:27 textureGradOffset ( temp 4-component vector of float) 0:27 Construct combined texture-sampler ( temp sampler1DArray) 0:27 'g_tTex1df4' (layout( binding=0) uniform texture1DArray) 0:27 'g_sSamp' (layout( binding=0) uniform sampler) 0:27 Constant: 0:27 0.100000 0:27 0.200000 0:27 Constant: 0:27 1.100000 0:27 Constant: 0:27 1.200000 0:27 Constant: 0:27 1 (const int) 0:28 Sequence 0:28 move second child to first child ( temp 4-component vector of int) 0:28 'txval11' ( temp 4-component vector of int) 0:28 textureGradOffset ( temp 4-component vector of int) 0:28 Construct combined texture-sampler ( temp isampler1DArray) 0:28 'g_tTex1di4' ( uniform itexture1DArray) 0:28 'g_sSamp' (layout( binding=0) uniform sampler) 0:28 Constant: 0:28 0.100000 0:28 0.200000 0:28 Constant: 0:28 1.100000 0:28 Constant: 0:28 1.200000 0:28 Constant: 0:28 1 (const int) 0:29 Sequence 0:29 move second child to first child ( temp 4-component vector of uint) 0:29 'txval12' ( temp 4-component vector of uint) 0:29 textureGradOffset ( temp 4-component vector of uint) 0:29 Construct combined texture-sampler ( temp usampler1DArray) 0:29 'g_tTex1du4' ( uniform utexture1DArray) 0:29 'g_sSamp' (layout( binding=0) uniform sampler) 0:29 Constant: 0:29 0.100000 0:29 0.200000 0:29 Constant: 0:29 1.100000 0:29 Constant: 0:29 1.200000 0:29 Constant: 0:29 1 (const int) 0:31 Sequence 0:31 move second child to first child ( temp 4-component vector of float) 0:31 'txval20' ( temp 4-component vector of float) 0:31 textureGradOffset ( temp 4-component vector of float) 0:31 Construct combined texture-sampler ( temp sampler2DArray) 0:31 'g_tTex2df4' ( uniform texture2DArray) 0:31 'g_sSamp' (layout( binding=0) uniform sampler) 0:31 Constant: 0:31 0.100000 0:31 0.200000 0:31 0.300000 0:31 Constant: 0:31 1.100000 0:31 1.200000 0:31 Constant: 0:31 1.100000 0:31 1.200000 0:31 Constant: 0:31 1 (const int) 0:31 0 (const int) 0:32 Sequence 0:32 move second child to first child ( temp 4-component vector of int) 0:32 'txval21' ( temp 4-component vector of int) 0:32 textureGradOffset ( temp 4-component vector of int) 0:32 Construct combined texture-sampler ( temp isampler2DArray) 0:32 'g_tTex2di4' ( uniform itexture2DArray) 0:32 'g_sSamp' (layout( binding=0) uniform sampler) 0:32 Constant: 0:32 0.100000 0:32 0.200000 0:32 0.300000 0:32 Constant: 0:32 1.100000 0:32 1.200000 0:32 Constant: 0:32 1.100000 0:32 1.200000 0:32 Constant: 0:32 1 (const int) 0:32 0 (const int) 0:33 Sequence 0:33 move second child to first child ( temp 4-component vector of uint) 0:33 'txval22' ( temp 4-component vector of uint) 0:33 textureGradOffset ( temp 4-component vector of uint) 0:33 Construct combined texture-sampler ( temp usampler2DArray) 0:33 'g_tTex2du4' ( uniform utexture2DArray) 0:33 'g_sSamp' (layout( binding=0) uniform sampler) 0:33 Constant: 0:33 0.100000 0:33 0.200000 0:33 0.300000 0:33 Constant: 0:33 1.100000 0:33 1.200000 0:33 Constant: 0:33 1.100000 0:33 1.200000 0:33 Constant: 0:33 1 (const int) 0:33 0 (const int) 0:35 move second child to first child ( temp 4-component vector of float) 0:35 Color: direct index for structure ( temp 4-component vector of float) 0:35 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:35 Constant: 0:35 0 (const int) 0:35 Constant: 0:35 1.000000 0:35 1.000000 0:35 1.000000 0:35 1.000000 0:36 move second child to first child ( temp float) 0:36 Depth: direct index for structure ( temp float) 0:36 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:36 Constant: 0:36 1 (const int) 0:36 Constant: 0:36 1.000000 0:38 Branch: Return with expression 0:38 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:24 Function Definition: main( ( temp void) 0:24 Function Parameters: 0:? Sequence 0:24 Sequence 0:24 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:24 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:24 move second child to first child ( temp 4-component vector of float) 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 0:24 Color: direct index for structure ( temp 4-component vector of float) 0:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:24 Constant: 0:24 0 (const int) 0:24 move second child to first child ( temp float) 0:? '@entryPointOutput.Depth' ( out float FragDepth) 0:24 Depth: direct index for structure ( temp float) 0:24 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 0:24 Constant: 0:24 1 (const int) 0:? Linker Objects 0:? 'g_sSamp' (layout( binding=0) uniform sampler) 0:? 'g_tTex1df4a' (layout( binding=1) uniform texture1DArray) 0:? 'g_tTex1df4' (layout( binding=0) uniform texture1DArray) 0:? 'g_tTex1di4' ( uniform itexture1DArray) 0:? 'g_tTex1du4' ( uniform utexture1DArray) 0:? 'g_tTex2df4' ( uniform texture2DArray) 0:? 'g_tTex2di4' ( uniform itexture2DArray) 0:? 'g_tTex2du4' ( uniform utexture2DArray) 0:? 'g_tTexcdf4' ( uniform textureCubeArray) 0:? 'g_tTexcdi4' ( uniform itextureCubeArray) 0:? 'g_tTexcdu4' ( uniform utextureCubeArray) 0:? '@entryPointOutput.Depth' ( out float FragDepth) 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) // Module Version 10000 // Generated by (magic number): 8000a // Id's are bound by 120 Capability Shader Capability Sampled1D Capability SampledCubeArray 1: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 EntryPoint Fragment 4 "main" 103 107 ExecutionMode 4 OriginUpperLeft ExecutionMode 4 DepthReplacing Source HLSL 500 Name 4 "main" Name 8 "PS_OUTPUT" MemberName 8(PS_OUTPUT) 0 "Color" MemberName 8(PS_OUTPUT) 1 "Depth" Name 10 "@main(" Name 13 "txval10" Name 16 "g_tTex1df4" Name 20 "g_sSamp" Name 35 "txval11" Name 38 "g_tTex1di4" Name 47 "txval12" Name 50 "g_tTex1du4" Name 56 "txval20" Name 59 "g_tTex2df4" Name 72 "txval21" Name 75 "g_tTex2di4" Name 81 "txval22" Name 84 "g_tTex2du4" Name 91 "psout" Name 100 "flattenTemp" Name 103 "@entryPointOutput.Color" Name 107 "@entryPointOutput.Depth" Name 110 "g_tTex1df4a" Name 113 "g_tTexcdf4" Name 116 "g_tTexcdi4" Name 119 "g_tTexcdu4" Decorate 16(g_tTex1df4) DescriptorSet 0 Decorate 16(g_tTex1df4) Binding 0 Decorate 20(g_sSamp) DescriptorSet 0 Decorate 20(g_sSamp) Binding 0 Decorate 38(g_tTex1di4) DescriptorSet 0 Decorate 38(g_tTex1di4) Binding 2 Decorate 50(g_tTex1du4) DescriptorSet 0 Decorate 50(g_tTex1du4) Binding 3 Decorate 59(g_tTex2df4) DescriptorSet 0 Decorate 59(g_tTex2df4) Binding 4 Decorate 75(g_tTex2di4) DescriptorSet 0 Decorate 75(g_tTex2di4) Binding 5 Decorate 84(g_tTex2du4) DescriptorSet 0 Decorate 84(g_tTex2du4) Binding 6 Decorate 103(@entryPointOutput.Color) Location 0 Decorate 107(@entryPointOutput.Depth) BuiltIn FragDepth Decorate 110(g_tTex1df4a) DescriptorSet 0 Decorate 110(g_tTex1df4a) Binding 1 Decorate 113(g_tTexcdf4) DescriptorSet 0 Decorate 113(g_tTexcdf4) Binding 0 Decorate 116(g_tTexcdi4) DescriptorSet 0 Decorate 116(g_tTexcdi4) Binding 0 Decorate 119(g_tTexcdu4) DescriptorSet 0 Decorate 119(g_tTexcdu4) Binding 0 2: TypeVoid 3: TypeFunction 2 6: TypeFloat 32 7: TypeVector 6(float) 4 8(PS_OUTPUT): TypeStruct 7(fvec4) 6(float) 9: TypeFunction 8(PS_OUTPUT) 12: TypePointer Function 7(fvec4) 14: TypeImage 6(float) 1D array sampled format:Unknown 15: TypePointer UniformConstant 14 16(g_tTex1df4): 15(ptr) Variable UniformConstant 18: TypeSampler 19: TypePointer UniformConstant 18 20(g_sSamp): 19(ptr) Variable UniformConstant 22: TypeSampledImage 14 24: TypeVector 6(float) 2 25: 6(float) Constant 1036831949 26: 6(float) Constant 1045220557 27: 24(fvec2) ConstantComposite 25 26 28: 6(float) Constant 1066192077 29: 6(float) Constant 1067030938 30: TypeInt 32 1 31: 30(int) Constant 1 33: TypeVector 30(int) 4 34: TypePointer Function 33(ivec4) 36: TypeImage 30(int) 1D array sampled format:Unknown 37: TypePointer UniformConstant 36 38(g_tTex1di4): 37(ptr) Variable UniformConstant 41: TypeSampledImage 36 44: TypeInt 32 0 45: TypeVector 44(int) 4 46: TypePointer Function 45(ivec4) 48: TypeImage 44(int) 1D array sampled format:Unknown 49: TypePointer UniformConstant 48 50(g_tTex1du4): 49(ptr) Variable UniformConstant 53: TypeSampledImage 48 57: TypeImage 6(float) 2D array sampled format:Unknown 58: TypePointer UniformConstant 57 59(g_tTex2df4): 58(ptr) Variable UniformConstant 62: TypeSampledImage 57 64: TypeVector 6(float) 3 65: 6(float) Constant 1050253722 66: 64(fvec3) ConstantComposite 25 26 65 67: 24(fvec2) ConstantComposite 28 29 68: TypeVector 30(int) 2 69: 30(int) Constant 0 70: 68(ivec2) ConstantComposite 31 69 73: TypeImage 30(int) 2D array sampled format:Unknown 74: TypePointer UniformConstant 73 75(g_tTex2di4): 74(ptr) Variable UniformConstant 78: TypeSampledImage 73 82: TypeImage 44(int) 2D array sampled format:Unknown 83: TypePointer UniformConstant 82 84(g_tTex2du4): 83(ptr) Variable UniformConstant 87: TypeSampledImage 82 90: TypePointer Function 8(PS_OUTPUT) 92: 6(float) Constant 1065353216 93: 7(fvec4) ConstantComposite 92 92 92 92 95: TypePointer Function 6(float) 102: TypePointer Output 7(fvec4) 103(@entryPointOutput.Color): 102(ptr) Variable Output 106: TypePointer Output 6(float) 107(@entryPointOutput.Depth): 106(ptr) Variable Output 110(g_tTex1df4a): 15(ptr) Variable UniformConstant 111: TypeImage 6(float) Cube array sampled format:Unknown 112: TypePointer UniformConstant 111 113(g_tTexcdf4): 112(ptr) Variable UniformConstant 114: TypeImage 30(int) Cube array sampled format:Unknown 115: TypePointer UniformConstant 114 116(g_tTexcdi4): 115(ptr) Variable UniformConstant 117: TypeImage 44(int) Cube array sampled format:Unknown 118: TypePointer UniformConstant 117 119(g_tTexcdu4): 118(ptr) Variable UniformConstant 4(main): 2 Function None 3 5: Label 100(flattenTemp): 90(ptr) Variable Function 101:8(PS_OUTPUT) FunctionCall 10(@main() Store 100(flattenTemp) 101 104: 12(ptr) AccessChain 100(flattenTemp) 69 105: 7(fvec4) Load 104 Store 103(@entryPointOutput.Color) 105 108: 95(ptr) AccessChain 100(flattenTemp) 31 109: 6(float) Load 108 Store 107(@entryPointOutput.Depth) 109 Return FunctionEnd 10(@main():8(PS_OUTPUT) Function None 9 11: Label 13(txval10): 12(ptr) Variable Function 35(txval11): 34(ptr) Variable Function 47(txval12): 46(ptr) Variable Function 56(txval20): 12(ptr) Variable Function 72(txval21): 34(ptr) Variable Function 81(txval22): 46(ptr) Variable Function 91(psout): 90(ptr) Variable Function 17: 14 Load 16(g_tTex1df4) 21: 18 Load 20(g_sSamp) 23: 22 SampledImage 17 21 32: 7(fvec4) ImageSampleExplicitLod 23 27 Grad ConstOffset 28 29 31 Store 13(txval10) 32 39: 36 Load 38(g_tTex1di4) 40: 18 Load 20(g_sSamp) 42: 41 SampledImage 39 40 43: 33(ivec4) ImageSampleExplicitLod 42 27 Grad ConstOffset 28 29 31 Store 35(txval11) 43 51: 48 Load 50(g_tTex1du4) 52: 18 Load 20(g_sSamp) 54: 53 SampledImage 51 52 55: 45(ivec4) ImageSampleExplicitLod 54 27 Grad ConstOffset 28 29 31 Store 47(txval12) 55 60: 57 Load 59(g_tTex2df4) 61: 18 Load 20(g_sSamp) 63: 62 SampledImage 60 61 71: 7(fvec4) ImageSampleExplicitLod 63 66 Grad ConstOffset 67 67 70 Store 56(txval20) 71 76: 73 Load 75(g_tTex2di4) 77: 18 Load 20(g_sSamp) 79: 78 SampledImage 76 77 80: 33(ivec4) ImageSampleExplicitLod 79 66 Grad ConstOffset 67 67 70 Store 72(txval21) 80 85: 82 Load 84(g_tTex2du4) 86: 18 Load 20(g_sSamp) 88: 87 SampledImage 85 86 89: 45(ivec4) ImageSampleExplicitLod 88 66 Grad ConstOffset 67 67 70 Store 81(txval22) 89 94: 12(ptr) AccessChain 91(psout) 69 Store 94 93 96: 95(ptr) AccessChain 91(psout) 31 Store 96 92 97:8(PS_OUTPUT) Load 91(psout) ReturnValue 97 FunctionEnd