mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 17:30:12 +01:00
nir/spirv: fix MSVC syntax error in vtn_handle_texture()
Reviewed-by: Neil Roberts <nroberts@igalia.com>
This commit is contained in:
parent
c58c9f712d
commit
cb619a3c9a
1 changed files with 2 additions and 1 deletions
|
|
@ -2086,8 +2086,9 @@ vtn_handle_texture(struct vtn_builder *b, SpvOp opcode,
|
|||
(*p++) = vtn_tex_src(b, w[idx++], nir_tex_src_offset);
|
||||
|
||||
if (operands & SpvImageOperandsConstOffsetsMask) {
|
||||
nir_tex_src none = {0};
|
||||
gather_offsets = vtn_ssa_value(b, w[idx++]);
|
||||
(*p++) = (nir_tex_src){};
|
||||
(*p++) = none;
|
||||
}
|
||||
|
||||
if (operands & SpvImageOperandsSampleMask) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue