aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorErik Faye-Lund <[email protected]>2019-07-12 12:06:51 +0200
committerErik Faye-Lund <[email protected]>2019-10-28 08:51:46 +0000
commit44f374ced5a49a196ebef31ebf74c173da475e65 (patch)
tree7f5ed636d02d0cb8e1465846e7838c1fea6d0f50 /src/gallium
parentbaf34dbd75281a6f2ea4d308685324b4132f9059 (diff)
zink/spirv: correct opcode
Acked-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/zink/nir_to_spirv/spirv_builder.c2
1 files changed, 1 insertions, 1 deletions
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);