diff options
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r-- | src/gallium/state_trackers/vega/renderer.c | 2 | ||||
-rw-r--r-- | src/gallium/state_trackers/xa/xa_renderer.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/gallium/state_trackers/vega/renderer.c b/src/gallium/state_trackers/vega/renderer.c index 931924ca407..d369c323bcc 100644 --- a/src/gallium/state_trackers/vega/renderer.c +++ b/src/gallium/state_trackers/vega/renderer.c @@ -348,11 +348,9 @@ static void vg_set_viewport(struct renderer *r, viewport.scale[0] = fb->width / 2.f; viewport.scale[1] = fb->height / y_scale; viewport.scale[2] = 1.0; - viewport.scale[3] = 1.0; viewport.translate[0] = fb->width / 2.f; viewport.translate[1] = fb->height / 2.f; viewport.translate[2] = 0.0; - viewport.translate[3] = 0.0; cso_set_viewport(r->cso, &viewport); } diff --git a/src/gallium/state_trackers/xa/xa_renderer.c b/src/gallium/state_trackers/xa/xa_renderer.c index 780b24777af..7b28afc907f 100644 --- a/src/gallium/state_trackers/xa/xa_renderer.c +++ b/src/gallium/state_trackers/xa/xa_renderer.c @@ -361,11 +361,9 @@ renderer_bind_destination(struct xa_context *r, viewport.scale[0] = width / 2.f; viewport.scale[1] = height / 2.f; viewport.scale[2] = 1.0; - viewport.scale[3] = 1.0; viewport.translate[0] = width / 2.f; viewport.translate[1] = height / 2.f; viewport.translate[2] = 0.0; - viewport.translate[3] = 0.0; /* Constant buffer set up to match viewport dimensions: */ |