diff options
author | Jason Ekstrand <[email protected]> | 2016-07-21 13:15:59 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-07-22 16:48:54 -0700 |
commit | 9e05e51cff69dbb5da8588184c3b934e59c9a5ac (patch) | |
tree | 032187d46a6a32f7fd4e32335578f954de095ab6 /src/compiler/spirv/spirv_to_nir.c | |
parent | 71202352c8d9f87d7b6f06bece67771d7cf641a4 (diff) |
spirv/nir: Add support for ImageQuerySamples
Signed-off-by: Jason Ekstrand <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Cc: "12.0" <[email protected]>
Diffstat (limited to 'src/compiler/spirv/spirv_to_nir.c')
-rw-r--r-- | src/compiler/spirv/spirv_to_nir.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler/spirv/spirv_to_nir.c b/src/compiler/spirv/spirv_to_nir.c index 27d2b4239bb..ca404d8beb3 100644 --- a/src/compiler/spirv/spirv_to_nir.c +++ b/src/compiler/spirv/spirv_to_nir.c @@ -1383,6 +1383,9 @@ vtn_handle_texture(struct vtn_builder *b, SpvOp opcode, break; case SpvOpImageQuerySamples: + texop = nir_texop_texture_samples; + break; + default: unreachable("Unhandled opcode"); } |