pan/bi: Add f16 TEXC.vtx op
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5232>
This commit is contained in:
parent
731dfc6066
commit
6650fa22c7
|
@ -883,6 +883,11 @@ emit_tex_compact(bi_context *ctx, nir_tex_instr *instr)
|
|||
|
||||
for (unsigned i = 0; i < instr->num_srcs; ++i) {
|
||||
int index = pan_src_index(&instr->src[i].src);
|
||||
|
||||
/* We were checked ahead-of-time */
|
||||
if (instr->src[i].src_type == nir_tex_src_lod)
|
||||
continue;
|
||||
|
||||
assert (instr->src[i].src_type == nir_tex_src_coord);
|
||||
|
||||
tex.src[0] = index;
|
||||
|
|
|
@ -1130,7 +1130,8 @@ static const struct add_op_info add_op_infos[] = {
|
|||
{ 0x1a000, "LD_VAR.16", ADD_VARYING_INTERP, true },
|
||||
{ 0x1ae20, "TEX.vtx", ADD_TEX, true },
|
||||
{ 0x1ae60, "TEX", ADD_TEX, true },
|
||||
{ 0x1b000, "TEX.f16", ADD_TEX_COMPACT, true },
|
||||
{ 0x1b000, "TEXC.f16", ADD_TEX_COMPACT, true },
|
||||
{ 0x1b400, "TEXC.vtx.f16", ADD_TEX_COMPACT, true },
|
||||
{ 0x1c000, "RSHIFT_NAND.i32", ADD_SHIFT },
|
||||
{ 0x1c400, "RSHIFT_AND.i32", ADD_SHIFT },
|
||||
{ 0x1c800, "LSHIFT_NAND.i32", ADD_SHIFT },
|
||||
|
|
Loading…
Reference in New Issue