changeset 1259 | 2821b282110e |
parent 1258 | 077de213154d |
child 1260 | a7b757ae5ba1 |
--- a/profiles/mojoshader_profile_spirv.c Mon May 25 21:41:31 2020 -0400 +++ b/profiles/mojoshader_profile_spirv.c Mon May 25 21:43:12 2020 -0400 @@ -1348,7 +1348,7 @@ #endif // MOJOSHADER_FLIP_RENDERTARGET #if SUPPORT_PROFILE_GLSPIRV && defined(MOJOSHADER_DEPTH_CLIPPING) - if (!ctx->profile_supports_glspirv) + if (ctx->profile_supports_glspirv) { // gl_Position.z = gl_Position.z * 2.0 - gl_Position.w; uint32 id_2 = spv_getscalarf(ctx, 2.0f);