mirror of
https://github.com/ARMSX2/ARMSX3.git
synced 2026-08-24 16:58:52 -07:00
rsx/glsl: Shrink command space in ROP_CONTROL structure to make room
This commit is contained in:
@@ -19,21 +19,23 @@ namespace rsx
|
||||
POLYGON_STIPPLE_ENABLE_BIT = 3,
|
||||
|
||||
// Auxilliary config
|
||||
INT_FRAMEBUFFER_BIT = 16,
|
||||
MSAA_WRITE_ENABLE_BIT = 17,
|
||||
FRAG_DEPTH_24_BIT = 18,
|
||||
FRAG_DEPTH_FLOAT_BIT = 19,
|
||||
INT_FRAMEBUFFER_BIT = 8,
|
||||
MSAA_WRITE_ENABLE_BIT = 9,
|
||||
FRAG_DEPTH_24_BIT = 10,
|
||||
FRAG_DEPTH_FLOAT_BIT = 11,
|
||||
|
||||
// Data
|
||||
ALPHA_FUNC_OFFSET = 20,
|
||||
MSAA_SAMPLE_CTRL_OFFSET = 23,
|
||||
ALPHA_FUNC_OFFSET = 12,
|
||||
MSAA_SAMPLE_CTRL_OFFSET = 15,
|
||||
MRT_CHANNEL_REMAP_OFFSET = 17,
|
||||
|
||||
// Data lengths
|
||||
ALPHA_FUNC_NUM_BITS = 3,
|
||||
MSAA_SAMPLE_CTRL_NUM_BITS = 2,
|
||||
MRT_CHANNEL_REMAP_NUM_BITS = 2,
|
||||
|
||||
// Meta
|
||||
ROP_CMD_MASK = 0xF // Commands are encoded in the lower 16 bits
|
||||
ROP_CMD_MASK = 0xF // Commands are encoded in the lower 4 bits
|
||||
};
|
||||
|
||||
struct ROP_control_t
|
||||
|
||||
Reference in New Issue
Block a user