Commit 99115709 authored by Erik Faye-Lund 's avatar Erik Faye-Lund

zink: also accept txl

parent 5cb539ac
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment