mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
r300g: Fix up remaining VAP_CNTL_STATUS writes for big endian.
This commit is contained in:
parent
bb91368003
commit
e93be5132c
1 changed files with 10 additions and 2 deletions
|
|
@ -144,7 +144,11 @@ validate:
|
|||
r300_emit_vertex_program_code(r300, &r300_passthrough_vertex_shader, 0);
|
||||
} else {
|
||||
BEGIN_CS(4);
|
||||
OUT_CS_REG(R300_VAP_CNTL_STATUS, R300_VAP_TCL_BYPASS);
|
||||
OUT_CS_REG(R300_VAP_CNTL_STATUS,
|
||||
#ifdef PIPE_ARCH_BIG_ENDIAN
|
||||
R300_VC_32BIT_SWAP |
|
||||
#endif
|
||||
R300_VAP_TCL_BYPASS);
|
||||
OUT_CS_REG(R300_VAP_CNTL, R300_PVS_NUM_SLOTS(5) |
|
||||
R300_PVS_NUM_CNTLRS(5) |
|
||||
R300_PVS_NUM_FPUS(caps->num_vert_fpus) |
|
||||
|
|
@ -282,7 +286,11 @@ validate:
|
|||
r300_emit_vertex_program_code(r300, &r300_passthrough_vertex_shader, 0);
|
||||
} else {
|
||||
BEGIN_CS(4);
|
||||
OUT_CS_REG(R300_VAP_CNTL_STATUS, R300_VAP_TCL_BYPASS);
|
||||
OUT_CS_REG(R300_VAP_CNTL_STATUS,
|
||||
#ifdef PIPE_ARCH_BIG_ENDIAN
|
||||
R300_VC_32BIT_SWAP |
|
||||
#endif
|
||||
R300_VAP_TCL_BYPASS);
|
||||
OUT_CS_REG(R300_VAP_CNTL, R300_PVS_NUM_SLOTS(5) |
|
||||
R300_PVS_NUM_CNTLRS(5) |
|
||||
R300_PVS_NUM_FPUS(caps->num_vert_fpus) |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue