mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-04-13 12:51:54 +00:00
[vulkan] Comment out some unreachable code
When targeting spir-v, qfcc does do dead code removal yet, so the return followed the previous return (with no intervening label) so caused the shader to not pass validation. Now the fragment shaders work (mostly: there's a problem with discard in the sprite shader).
This commit is contained in:
parent
a3f4649b27
commit
b67eb518e5
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ sky_color (vec3 dir, float time)
|
|||
vec4 c1 = sky_sheet (dir, time);
|
||||
vec4 c2 = sky_box (dir, time);
|
||||
return vec4 (mix (c2.rgb, c1.rgb, c1.a), max (c1.a, c2.a));
|
||||
return vec4 (1, 0, 1, 1);
|
||||
//return vec4 (1, 0, 1, 1);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue