Commit ffc31cdc by John Kessenich

Tests: Trigger more texture tests, and hopefully see build failure go away.

(This is motivated by wanting to retickle the tests.)
parent 1ce94b2d
...@@ -2,12 +2,12 @@ hlsl.flattenOpaqueInit.vert ...@@ -2,12 +2,12 @@ hlsl.flattenOpaqueInit.vert
WARNING: AST will form illegal SPIR-V; need to transform to legalize WARNING: AST will form illegal SPIR-V; need to transform to legalize
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 80002 // Generated by (magic number): 80002
// Id's are bound by 125 // Id's are bound by 176
Capability Shader Capability Shader
1: ExtInstImport "GLSL.std.450" 1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Vertex 4 "main" 82 EntryPoint Vertex 4 "main" 99
Source HLSL 500 Source HLSL 500
Name 4 "main" Name 4 "main"
Name 17 "FxaaTex" Name 17 "FxaaTex"
...@@ -15,10 +15,10 @@ WARNING: AST will form illegal SPIR-V; need to transform to legalize ...@@ -15,10 +15,10 @@ WARNING: AST will form illegal SPIR-V; need to transform to legalize
MemberName 17(FxaaTex) 1 "tex" MemberName 17(FxaaTex) 1 "tex"
Name 38 "g_tInputTexture_sampler" Name 38 "g_tInputTexture_sampler"
Name 42 "g_tInputTexture" Name 42 "g_tInputTexture"
Name 82 "@entryPointOutput" Name 99 "@entryPointOutput"
Decorate 38(g_tInputTexture_sampler) DescriptorSet 0 Decorate 38(g_tInputTexture_sampler) DescriptorSet 0
Decorate 42(g_tInputTexture) DescriptorSet 0 Decorate 42(g_tInputTexture) DescriptorSet 0
Decorate 82(@entryPointOutput) Location 0 Decorate 99(@entryPointOutput) Location 0
2: TypeVoid 2: TypeVoid
3: TypeFunction 2 3: TypeFunction 2
6: TypeSampler 6: TypeSampler
...@@ -36,14 +36,23 @@ WARNING: AST will form illegal SPIR-V; need to transform to legalize ...@@ -36,14 +36,23 @@ WARNING: AST will form illegal SPIR-V; need to transform to legalize
38(g_tInputTexture_sampler): 37(ptr) Variable UniformConstant 38(g_tInputTexture_sampler): 37(ptr) Variable UniformConstant
41: TypePointer UniformConstant 9 41: TypePointer UniformConstant 9
42(g_tInputTexture): 41(ptr) Variable UniformConstant 42(g_tInputTexture): 41(ptr) Variable UniformConstant
81: TypePointer Output 11(fvec4) 98: TypePointer Output 11(fvec4)
82(@entryPointOutput): 81(ptr) Variable Output 99(@entryPointOutput): 98(ptr) Variable Output
175: 17(FxaaTex) Undef
4(main): 2 Function None 3 4(main): 2 Function None 3
5: Label 5: Label
96: 6 Load 38(g_tInputTexture_sampler) 117: 6 Load 38(g_tInputTexture_sampler)
97: 9 Load 42(g_tInputTexture) 118: 9 Load 42(g_tInputTexture)
123: 26 SampledImage 97 96 148: 26 SampledImage 118 117
124: 11(fvec4) ImageSampleExplicitLod 123 31 Lod 32 149: 11(fvec4) ImageSampleExplicitLod 148 31 Lod 32
Store 82(@entryPointOutput) 124 172: 6 CompositeExtract 175 0
174: 9 CompositeExtract 175 1
160: 26 SampledImage 174 172
161: 11(fvec4) ImageSampleExplicitLod 160 31 Lod 32
136: 11(fvec4) FAdd 149 161
165: 26 SampledImage 118 117
166: 11(fvec4) ImageSampleExplicitLod 165 31 Lod 32
143: 11(fvec4) FAdd 136 166
Store 99(@entryPointOutput) 143
Return Return
FunctionEnd FunctionEnd
...@@ -17,7 +17,10 @@ FxaaTex fillOpaque() ...@@ -17,7 +17,10 @@ FxaaTex fillOpaque()
float4 main() : SV_TARGET0 float4 main() : SV_TARGET0
{ {
FxaaTex tex1 = { g_tInputTexture_sampler, g_tInputTexture }; FxaaTex tex1 = { g_tInputTexture_sampler, g_tInputTexture };
float4 res = lookUp(tex1);
FxaaTex tex2 = fillOpaque(); FxaaTex tex2 = fillOpaque();
res += lookUp(tex2);
FxaaTex tex3 = tex1; FxaaTex tex3 = tex1;
return lookUp(tex3); res += lookUp(tex3);
return res;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment