pan/mdg: Add pack_colour_32 opcode
Seen for RGB10_A2UI packing. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5153>
This commit is contained in:
parent
f7cf5a30c7
commit
7a52e975e4
|
@ -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). */
|
||||
|
|
|
@ -182,6 +182,7 @@ struct mir_op_props alu_opcode_props[256] = {
|
|||
struct mir_ldst_op_props load_store_opcode_props[256] = {
|
||||
[midgard_op_unpack_colour] = {"unpack_colour", M32},
|
||||
[midgard_op_pack_colour] = {"pack_colour", M32},
|
||||
[midgard_op_pack_colour_32] = {"pack_colour_32", M32},
|
||||
[midgard_op_ld_cubemap_coords] = {"ld_cubemap_coords", M32},
|
||||
[midgard_op_ld_compute_id] = {"ld_compute_id", M32},
|
||||
[midgard_op_ldst_perspective_division_z] = {"ldst_perspective_division_z", M32},
|
||||
|
|
Loading…
Reference in New Issue