mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
r300-gallium: Fix bad register write.
This commit is contained in:
parent
5c50218d00
commit
23639ddbae
1 changed files with 4 additions and 3 deletions
|
|
@ -370,15 +370,16 @@ void r300_emit_viewport_state(struct r300_context* r300,
|
|||
{
|
||||
CS_LOCALS(r300);
|
||||
|
||||
BEGIN_CS(7);
|
||||
OUT_CS_REG_SEQ(R300_SE_VPORT_XSCALE, 7);
|
||||
BEGIN_CS(9);
|
||||
OUT_CS_REG_SEQ(R300_SE_VPORT_XSCALE, 6);
|
||||
OUT_CS_32F(viewport->xscale);
|
||||
OUT_CS_32F(viewport->xoffset);
|
||||
OUT_CS_32F(viewport->yscale);
|
||||
OUT_CS_32F(viewport->yoffset);
|
||||
OUT_CS_32F(viewport->zscale);
|
||||
OUT_CS_32F(viewport->zoffset);
|
||||
OUT_CS(viewport->vte_control);
|
||||
|
||||
OUT_CS_REG(R300_VAP_VTE_CNTL, viewport->vte_control);
|
||||
END_CS;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue