From: Jason Ekstrand Date: Thu, 18 Jul 2019 18:54:57 +0000 (-0500) Subject: mesa/spirv: Set frag_coord_is_sysval to GLSLFragCoordIsSysVal X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=169d896df2ac3882378c0323832c1253828f96fb;p=mesa.git mesa/spirv: Set frag_coord_is_sysval to GLSLFragCoordIsSysVal Reviewed-by: Kenneth Graunke --- diff --git a/src/mesa/main/glspirv.c b/src/mesa/main/glspirv.c index 21a1beb8453..1e1540e570b 100644 --- a/src/mesa/main/glspirv.c +++ b/src/mesa/main/glspirv.c @@ -246,6 +246,7 @@ _mesa_spirv_to_nir(struct gl_context *ctx, const struct spirv_to_nir_options spirv_options = { .environment = NIR_SPIRV_OPENGL, .lower_workgroup_access_to_offsets = true, + .frag_coord_is_sysval = ctx->Const.GLSLFragCoordIsSysVal, .caps = ctx->Const.SpirVCapabilities, .ubo_addr_format = nir_address_format_32bit_index_offset, .ssbo_addr_format = nir_address_format_32bit_index_offset,