glslang -> SPV: fix degenerate switch topologies (bug 14118).
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31485 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
93930d6f9a
commit
8d64d44c3f
3 changed files with 29 additions and 2 deletions
|
|
@ -130,4 +130,13 @@ void main()
|
|||
|
||||
color += foo1(v,v,c).y;
|
||||
color += foo2(v,v,c).z;
|
||||
|
||||
switch (c) {
|
||||
case 0: break;
|
||||
default:
|
||||
}
|
||||
|
||||
switch (c) {
|
||||
default:
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue