nir/spirv: fix MSVC syntax error in vtn_handle_texture()
Reviewed-by: Neil Roberts <nroberts@igalia.com>
This commit is contained in:
@@ -2086,8 +2086,9 @@ vtn_handle_texture(struct vtn_builder *b, SpvOp opcode,
|
|||||||
(*p++) = vtn_tex_src(b, w[idx++], nir_tex_src_offset);
|
(*p++) = vtn_tex_src(b, w[idx++], nir_tex_src_offset);
|
||||||
|
|
||||||
if (operands & SpvImageOperandsConstOffsetsMask) {
|
if (operands & SpvImageOperandsConstOffsetsMask) {
|
||||||
|
nir_tex_src none = {0};
|
||||||
gather_offsets = vtn_ssa_value(b, w[idx++]);
|
gather_offsets = vtn_ssa_value(b, w[idx++]);
|
||||||
(*p++) = (nir_tex_src){};
|
(*p++) = none;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (operands & SpvImageOperandsSampleMask) {
|
if (operands & SpvImageOperandsSampleMask) {
|
||||||
|
Reference in New Issue
Block a user