r300-gallium: Fix bad register write.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user