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
ffc31cdc
Commit
ffc31cdc
authored
Nov 28, 2017
by
John Kessenich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tests: Trigger more texture tests, and hopefully see build failure go away.
(This is motivated by wanting to retickle the tests.)
parent
1ce94b2d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
12 deletions
+24
-12
hlsl.flattenOpaqueInit.vert.out
Test/baseLegalResults/hlsl.flattenOpaqueInit.vert.out
+20
-11
hlsl.flattenOpaqueInit.vert.out
Test/baseResults/hlsl.flattenOpaqueInit.vert.out
+0
-0
hlsl.flattenOpaqueInit.vert
Test/hlsl.flattenOpaqueInit.vert
+4
-1
No files found.
Test/baseLegalResults/hlsl.flattenOpaqueInit.vert.out
View file @
ffc31cdc
...
@@ -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 1
25
// Id's are bound by 1
76
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
Test/baseResults/hlsl.flattenOpaqueInit.vert.out
View file @
ffc31cdc
This diff is collapsed.
Click to expand it.
Test/hlsl.flattenOpaqueInit.vert
View file @
ffc31cdc
...
@@ -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
;
}
}
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