projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
panfrost: Treat texture dimension as first-class
[mesa.git]
/
src
/
panfrost
/
midgard
/
midgard_derivatives.c
diff --git
a/src/panfrost/midgard/midgard_derivatives.c
b/src/panfrost/midgard/midgard_derivatives.c
index ca31f0a37ce58e0318187972e130b8f150e78847..29f459418e18a09cc16f85b1abcdddbdaf91b7a2 100644
(file)
--- a/
src/panfrost/midgard/midgard_derivatives.c
+++ b/
src/panfrost/midgard/midgard_derivatives.c
@@
-108,7
+108,7
@@
midgard_emit_derivatives(compiler_context *ctx, nir_alu_instr *instr)
.src_types = { nir_type_float32, nir_type_float32 },
.op = mir_derivative_op(instr->op),
.texture = {
- .format =
MALI_TEX_2D
,
+ .format =
2
,
.in_reg_full = 1,
.out_full = 1,
.sampler_type = MALI_SAMPLER_FLOAT,