From 44f374ced5a49a196ebef31ebf74c173da475e65 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Fri, 12 Jul 2019 12:06:51 +0200 Subject: [PATCH] zink/spirv: correct opcode Acked-by: Jordan Justen --- src/gallium/drivers/zink/nir_to_spirv/spirv_builder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/zink/nir_to_spirv/spirv_builder.c b/src/gallium/drivers/zink/nir_to_spirv/spirv_builder.c index 4a1bb1cd2c9..b5aa3d9e61b 100644 --- a/src/gallium/drivers/zink/nir_to_spirv/spirv_builder.c +++ b/src/gallium/drivers/zink/nir_to_spirv/spirv_builder.c @@ -565,7 +565,7 @@ spirv_builder_emit_image_sample_proj_explicit_lod(struct spirv_builder *b, { SpvId result = spirv_builder_new_id(b); spirv_buffer_prepare(&b->instructions, 7); - spirv_buffer_emit_word(&b->instructions, SpvOpImageSampleProjImplicitLod | (7 << 16)); + spirv_buffer_emit_word(&b->instructions, SpvOpImageSampleProjExplicitLod | (7 << 16)); spirv_buffer_emit_word(&b->instructions, result_type); spirv_buffer_emit_word(&b->instructions, result); spirv_buffer_emit_word(&b->instructions, sampled_image); -- 2.30.2