diff options
| author | Alejandro Soto <alejandro@34project.org> | 2023-11-12 22:54:53 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2023-11-14 07:48:52 -0600 |
| commit | d2e51054b4361639d3c9ae9a69437b157f2fbf9f (patch) | |
| tree | 83dd9d88b2abcaba70b9653c18ddba40facf4035 /rtl/gfx/gfx_defs.sv | |
| parent | 58d647a047e8761ad1f619173ee51dd4b65831ac (diff) | |
rtl/gfx: pass barycentric coords from fine raster to fragment shading
Diffstat (limited to 'rtl/gfx/gfx_defs.sv')
| -rw-r--r-- | rtl/gfx/gfx_defs.sv | 7 |
1 files changed, 4 insertions, 3 deletions
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 { |
