mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
mesa/spirv: Set frag_coord_is_sysval to GLSLFragCoordIsSysVal
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
e401303597
commit
169d896df2
1 changed files with 1 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue