From d2e51054b4361639d3c9ae9a69437b157f2fbf9f Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Sun, 12 Nov 2023 22:54:53 -0600 Subject: rtl/gfx: pass barycentric coords from fine raster to fragment shading --- rtl/gfx/gfx_defs.sv | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'rtl/gfx/gfx_defs.sv') diff --git a/rtl/gfx/gfx_defs.sv b/rtl/gfx/gfx_defs.sv index 7da259a..f7c874c 100644 --- a/rtl/gfx/gfx_defs.sv +++ b/rtl/gfx/gfx_defs.sv @@ -127,9 +127,10 @@ typedef struct packed xy_coord x, y; } frag_xy; -typedef frag_xy[`GFX_FINE_LANES - 1:0] frag_xy_lanes; -typedef logic[`GFX_FINE_LANES - 1:0] paint_lanes; -typedef fixed[`COLOR_CHANNELS - 1:0] color_lerp_lanes; +typedef frag_xy[`GFX_FINE_LANES - 1:0] frag_xy_lanes; +typedef logic[`GFX_FINE_LANES - 1:0] paint_lanes; +typedef fixed[`COLOR_CHANNELS - 1:0] color_lerp_lanes; +typedef fixed_tri[`GFX_FINE_LANES - 1:0] bary_lanes; typedef struct packed { -- cgit v1.2.3