summaryrefslogtreecommitdiff
path: root/rtl/gfx/gfx_defs.sv
diff options
context:
space:
mode:
Diffstat (limited to 'rtl/gfx/gfx_defs.sv')
-rw-r--r--rtl/gfx/gfx_defs.sv5
1 files changed, 4 insertions, 1 deletions
diff --git a/rtl/gfx/gfx_defs.sv b/rtl/gfx/gfx_defs.sv
index fa297e6..01fe2e3 100644
--- a/rtl/gfx/gfx_defs.sv
+++ b/rtl/gfx/gfx_defs.sv
@@ -212,6 +212,9 @@ typedef struct packed
`define GFX_BATCH_FIFO_DEPTH 4
`define GFX_SP_LANES `VECS_PER_MAT
-typedef logic[`GFX_SP_LANES - 1:0] lane_mask;
+typedef logic[`GFX_SP_LANES - 1:0] lane_mask;
+typedef logic[`FLOATS_PER_VEC - 1:0] vec_mask;
+
+typedef logic[`FLOATS_PER_VEC - 1:0][$clog2(`FLOATS_PER_VEC) - 1:0] swizzle_lanes;
`endif