summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Faye-Lund <[email protected]>2019-07-16 14:25:59 +0200
committerErik Faye-Lund <[email protected]>2019-10-28 08:51:47 +0000
commit2942becfe96224fd770d574e552430204329c87e (patch)
tree0615444aa0f8ad66db2ad6671a5376ef7232f2bf
parent2683619955b973046b266c45afa0c10de8f0ef57 (diff)
zink: also accept txl
Acked-by: Jordan Justen <[email protected]>
-rw-r--r--src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c b/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c
index 51d1424109d..4168513e681 100644
--- a/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c
+++ b/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c
@@ -1106,7 +1106,8 @@ static void
emit_tex(struct ntv_context *ctx, nir_tex_instr *tex)
{
assert(tex->op == nir_texop_tex ||
- tex->op == nir_texop_txb);
+ tex->op == nir_texop_txb ||
+ tex->op == nir_texop_txl);
assert(nir_alu_type_get_base_type(tex->dest_type) == nir_type_float);
assert(tex->texture_index == tex->sampler_index);