texture format and sampler pt partial

This commit is contained in:
Krishna Yalamarthy
2021-03-20 19:07:11 -04:00
parent 7ff5c082bc
commit 3c8469008f
4 changed files with 533 additions and 31 deletions

View File

@@ -23,4 +23,16 @@
`define TEX_WRAP_CLAMP 1
`define TEX_WRAP_MIRROR 2
`define MAX_COLOR_WIDTH 8
`define NUM_COLOR_CHANNEL 4
`define R5G6B5 `TEX_FORMAT_BITS'h1
`define R8G8B8 `TEX_FORMAT_BITS'h2
`define R8G8B8A8 `TEX_FORMAT_BITS'h3
`define RBEGIN 24
`define GBEGIN 16
`define BBEGIN 8
`define ABEGIN 0
`endif