tex_unit compiler fixes

This commit is contained in:
Blaise Tine
2021-03-22 21:56:06 -04:00
parent 8f0198149a
commit 4de75fad31
4 changed files with 11 additions and 3 deletions

View File

@@ -9,7 +9,7 @@
`define FIXED_HALF (`FIXED_ONE >> 1)
`define FIXED_MASK (`FIXED_ONE - 1)
`define CLAMP(x,lo,hi) ((x < lo) ? lo : ((x > hi) ? hi : x))
`define CLAMP(x,lo,hi) (($signed(x) < $signed(lo)) ? lo : ((x > hi) ? hi : x))
`define BLEND_FRAC_64 8