HLSL: phase 3b: Texture methods remember and return vector size.

Also makes a (correct) test change for global -> temp vars.
This commit is contained in:
steve-lunarg 2016-10-14 16:40:32 -06:00
parent 4f2da27aec
commit 8b0227ced9
27 changed files with 800 additions and 541 deletions

View file

@ -8,7 +8,7 @@ gl_FragCoord origin is upper left
0:23 Sequence
0:23 move second child to first child (temp 4-component vector of float)
0:23 'txval10' (temp 4-component vector of float)
0:23 textureOffset (global 4-component vector of float)
0:23 textureOffset (temp 4-component vector of float)
0:23 Construct combined texture-sampler (temp sampler1DArray)
0:23 'g_tTex1df4' (layout(binding=0 ) uniform texture1DArray)
0:23 'g_sSamp' (layout(binding=0 ) uniform sampler)
@ -20,7 +20,7 @@ gl_FragCoord origin is upper left
0:24 Sequence
0:24 move second child to first child (temp 4-component vector of int)
0:24 'txval11' (temp 4-component vector of int)
0:24 textureOffset (global 4-component vector of int)
0:24 textureOffset (temp 4-component vector of int)
0:24 Construct combined texture-sampler (temp isampler1DArray)
0:24 'g_tTex1di4' (uniform itexture1DArray)
0:24 'g_sSamp' (layout(binding=0 ) uniform sampler)
@ -32,7 +32,7 @@ gl_FragCoord origin is upper left
0:25 Sequence
0:25 move second child to first child (temp 4-component vector of uint)
0:25 'txval12' (temp 4-component vector of uint)
0:25 textureOffset (global 4-component vector of uint)
0:25 textureOffset (temp 4-component vector of uint)
0:25 Construct combined texture-sampler (temp usampler1DArray)
0:25 'g_tTex1du4' (uniform utexture1DArray)
0:25 'g_sSamp' (layout(binding=0 ) uniform sampler)
@ -44,7 +44,7 @@ gl_FragCoord origin is upper left
0:27 Sequence
0:27 move second child to first child (temp 4-component vector of float)
0:27 'txval20' (temp 4-component vector of float)
0:27 textureOffset (global 4-component vector of float)
0:27 textureOffset (temp 4-component vector of float)
0:27 Construct combined texture-sampler (temp sampler2DArray)
0:27 'g_tTex2df4' (uniform texture2DArray)
0:27 'g_sSamp' (layout(binding=0 ) uniform sampler)
@ -58,7 +58,7 @@ gl_FragCoord origin is upper left
0:28 Sequence
0:28 move second child to first child (temp 4-component vector of int)
0:28 'txval21' (temp 4-component vector of int)
0:28 textureOffset (global 4-component vector of int)
0:28 textureOffset (temp 4-component vector of int)
0:28 Construct combined texture-sampler (temp isampler2DArray)
0:28 'g_tTex2di4' (uniform itexture2DArray)
0:28 'g_sSamp' (layout(binding=0 ) uniform sampler)
@ -72,7 +72,7 @@ gl_FragCoord origin is upper left
0:29 Sequence
0:29 move second child to first child (temp 4-component vector of uint)
0:29 'txval22' (temp 4-component vector of uint)
0:29 textureOffset (global 4-component vector of uint)
0:29 textureOffset (temp 4-component vector of uint)
0:29 Construct combined texture-sampler (temp usampler2DArray)
0:29 'g_tTex2du4' (uniform utexture2DArray)
0:29 'g_sSamp' (layout(binding=0 ) uniform sampler)
@ -140,7 +140,7 @@ gl_FragCoord origin is upper left
0:23 Sequence
0:23 move second child to first child (temp 4-component vector of float)
0:23 'txval10' (temp 4-component vector of float)
0:23 textureOffset (global 4-component vector of float)
0:23 textureOffset (temp 4-component vector of float)
0:23 Construct combined texture-sampler (temp sampler1DArray)
0:23 'g_tTex1df4' (layout(binding=0 ) uniform texture1DArray)
0:23 'g_sSamp' (layout(binding=0 ) uniform sampler)
@ -152,7 +152,7 @@ gl_FragCoord origin is upper left
0:24 Sequence
0:24 move second child to first child (temp 4-component vector of int)
0:24 'txval11' (temp 4-component vector of int)
0:24 textureOffset (global 4-component vector of int)
0:24 textureOffset (temp 4-component vector of int)
0:24 Construct combined texture-sampler (temp isampler1DArray)
0:24 'g_tTex1di4' (uniform itexture1DArray)
0:24 'g_sSamp' (layout(binding=0 ) uniform sampler)
@ -164,7 +164,7 @@ gl_FragCoord origin is upper left
0:25 Sequence
0:25 move second child to first child (temp 4-component vector of uint)
0:25 'txval12' (temp 4-component vector of uint)
0:25 textureOffset (global 4-component vector of uint)
0:25 textureOffset (temp 4-component vector of uint)
0:25 Construct combined texture-sampler (temp usampler1DArray)
0:25 'g_tTex1du4' (uniform utexture1DArray)
0:25 'g_sSamp' (layout(binding=0 ) uniform sampler)
@ -176,7 +176,7 @@ gl_FragCoord origin is upper left
0:27 Sequence
0:27 move second child to first child (temp 4-component vector of float)
0:27 'txval20' (temp 4-component vector of float)
0:27 textureOffset (global 4-component vector of float)
0:27 textureOffset (temp 4-component vector of float)
0:27 Construct combined texture-sampler (temp sampler2DArray)
0:27 'g_tTex2df4' (uniform texture2DArray)
0:27 'g_sSamp' (layout(binding=0 ) uniform sampler)
@ -190,7 +190,7 @@ gl_FragCoord origin is upper left
0:28 Sequence
0:28 move second child to first child (temp 4-component vector of int)
0:28 'txval21' (temp 4-component vector of int)
0:28 textureOffset (global 4-component vector of int)
0:28 textureOffset (temp 4-component vector of int)
0:28 Construct combined texture-sampler (temp isampler2DArray)
0:28 'g_tTex2di4' (uniform itexture2DArray)
0:28 'g_sSamp' (layout(binding=0 ) uniform sampler)
@ -204,7 +204,7 @@ gl_FragCoord origin is upper left
0:29 Sequence
0:29 move second child to first child (temp 4-component vector of uint)
0:29 'txval22' (temp 4-component vector of uint)
0:29 textureOffset (global 4-component vector of uint)
0:29 textureOffset (temp 4-component vector of uint)
0:29 Construct combined texture-sampler (temp usampler2DArray)
0:29 'g_tTex2du4' (uniform utexture2DArray)
0:29 'g_sSamp' (layout(binding=0 ) uniform sampler)