Pica: Added the primitive_restart register (0x25f) to the registers map.
This commit is contained in:
parent
149ea561a6
commit
58a04c0776
2 changed files with 5 additions and 1 deletions
|
@ -55,6 +55,7 @@ std::string Regs::GetCommandName(int index) {
|
||||||
ADD_FIELD(vs_default_attributes_setup);
|
ADD_FIELD(vs_default_attributes_setup);
|
||||||
ADD_FIELD(command_buffer);
|
ADD_FIELD(command_buffer);
|
||||||
ADD_FIELD(triangle_topology);
|
ADD_FIELD(triangle_topology);
|
||||||
|
ADD_FIELD(restart_primitive);
|
||||||
ADD_FIELD(gs.bool_uniforms);
|
ADD_FIELD(gs.bool_uniforms);
|
||||||
ADD_FIELD(gs.int_uniforms);
|
ADD_FIELD(gs.int_uniforms);
|
||||||
ADD_FIELD(gs.main_offset);
|
ADD_FIELD(gs.main_offset);
|
||||||
|
|
|
@ -828,7 +828,9 @@ struct Regs {
|
||||||
|
|
||||||
BitField<8, 2, TriangleTopology> triangle_topology;
|
BitField<8, 2, TriangleTopology> triangle_topology;
|
||||||
|
|
||||||
INSERT_PADDING_WORDS(0x21);
|
u32 restart_primitive;
|
||||||
|
|
||||||
|
INSERT_PADDING_WORDS(0x20);
|
||||||
|
|
||||||
struct ShaderConfig {
|
struct ShaderConfig {
|
||||||
BitField<0, 16, u32> bool_uniforms;
|
BitField<0, 16, u32> bool_uniforms;
|
||||||
|
@ -1003,6 +1005,7 @@ ASSERT_REG_POSITION(trigger_draw_indexed, 0x22f);
|
||||||
ASSERT_REG_POSITION(vs_default_attributes_setup, 0x232);
|
ASSERT_REG_POSITION(vs_default_attributes_setup, 0x232);
|
||||||
ASSERT_REG_POSITION(command_buffer, 0x238);
|
ASSERT_REG_POSITION(command_buffer, 0x238);
|
||||||
ASSERT_REG_POSITION(triangle_topology, 0x25e);
|
ASSERT_REG_POSITION(triangle_topology, 0x25e);
|
||||||
|
ASSERT_REG_POSITION(restart_primitive, 0x25f);
|
||||||
ASSERT_REG_POSITION(gs, 0x280);
|
ASSERT_REG_POSITION(gs, 0x280);
|
||||||
ASSERT_REG_POSITION(vs, 0x2b0);
|
ASSERT_REG_POSITION(vs, 0x2b0);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue