aboutsummaryrefslogtreecommitdiffstats
path: root/src/panfrost/midgard/midgard_ops.c
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-08-16 07:50:12 -0700
committerAlyssa Rosenzweig <[email protected]>2019-08-19 08:32:17 -0700
commit9ae4d3653ee1ef6c67f0fecd05a07fbb41aa627b (patch)
tree012a4651a5270a7165c0e5b04cf8ed1a5489e0d7 /src/panfrost/midgard/midgard_ops.c
parent20dd482668982f954a926da142d866a78aa79535 (diff)
pan/midgard: Treat cubemaps "stores" as loads
It's always been ambiguous which they are, but their primary register is their output, not their input; therefore, they are loads. Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/panfrost/midgard/midgard_ops.c')
-rw-r--r--src/panfrost/midgard/midgard_ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/panfrost/midgard/midgard_ops.c b/src/panfrost/midgard/midgard_ops.c
index d8fd80df277..dbc87386bc0 100644
--- a/src/panfrost/midgard/midgard_ops.c
+++ b/src/panfrost/midgard/midgard_ops.c
@@ -170,7 +170,7 @@ struct mir_op_props alu_opcode_props[256] = {
};
const char *load_store_opcode_names[256] = {
- [midgard_op_st_cubemap_coords] = "st_cubemap_coords",
+ [midgard_op_ld_cubemap_coords] = "ld_cubemap_coords",
[midgard_op_ld_compute_id] = "ld_compute_id",
[midgard_op_ldst_perspective_division_z] = "ldst_perspective_division_z",
[midgard_op_ldst_perspective_division_w] = "ldst_perspective_division_w",