pan/mdg: Set types for derivatives
Closes #2900 Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5014>
This commit is contained in:
committed by
Marge Bot
parent
69e4d4fabe
commit
bac29316b0
@@ -102,7 +102,9 @@ midgard_emit_derivatives(compiler_context *ctx, nir_alu_instr *instr)
|
||||
.type = TAG_TEXTURE_4,
|
||||
.mask = mask_of(nr_components),
|
||||
.dest = nir_dest_index(&instr->dest.dest),
|
||||
.dest_type = nir_type_float32,
|
||||
.src = { nir_src_index(ctx, &instr->src[0].src), ~0, ~0, ~0 },
|
||||
.src_types = { nir_type_float32, nir_type_float32 },
|
||||
.texture = {
|
||||
.op = mir_derivative_op(instr->op),
|
||||
.format = MALI_TEX_2D,
|
||||
|
||||
Reference in New Issue
Block a user