zink: also accept txl
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Tue, 16 Jul 2019 12:25:59 +0000 (14:25 +0200)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 28 Oct 2019 08:51:47 +0000 (08:51 +0000)
Acked-by: Jordan Justen <jordan.l.justen@intel.com>
src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c

index 51d1424109dc1f682fb982d8afa3b18e2a6cde24..4168513e6815f509a1297400aff68a19451dee03 100644 (file)
@@ -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);