First Commit
This commit is contained in:
8
externals/glslang/Test/spv.merge-unreachable.frag
vendored
Normal file
8
externals/glslang/Test/spv.merge-unreachable.frag
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
#version 450
|
||||
precision mediump int; precision highp float;
|
||||
layout(location=1) in highp vec4 v;
|
||||
void main (void)
|
||||
{
|
||||
if (v == vec4(0.1,0.2,0.3,0.4)) discard;
|
||||
else return;
|
||||
}
|
||||
Reference in New Issue
Block a user