aboutsummaryrefslogtreecommitdiffstats
path: root/src/panfrost/midgard/midgard.h
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2020-05-14 13:29:22 -0400
committerMarge Bot <[email protected]>2020-05-22 18:05:14 +0000
commit7a52e975e4e97061b6ccab1b027bc4524460a7fd (patch)
treefbacc1f6054debbd8050817ca15283ab4e3fdb09 /src/panfrost/midgard/midgard.h
parentf7cf5a30c747e83ef728142e472c341a01f19a70 (diff)
pan/mdg: Add pack_colour_32 opcode
Seen for RGB10_A2UI packing. Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5153>
Diffstat (limited to 'src/panfrost/midgard/midgard.h')
-rw-r--r--src/panfrost/midgard/midgard.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/panfrost/midgard/midgard.h b/src/panfrost/midgard/midgard.h
index 13e7bac210a..705bbd386cb 100644
--- a/src/panfrost/midgard/midgard.h
+++ b/src/panfrost/midgard/midgard.h
@@ -415,6 +415,9 @@ typedef enum {
/* Packs a colour from fp16 to a native format */
midgard_op_pack_colour = 0x09,
+ /* Likewise packs from fp32 */
+ midgard_op_pack_colour_32 = 0x0A,
+
/* Unclear why this is on the L/S unit, but moves fp32 cube map
* coordinates in r27 to its cube map texture coordinate destination
* (e.g r29). */