diff options
author | Eric Anholt <eric@anholt.net> | 2014-08-18 12:46:24 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2014-08-18 15:27:43 -0700 |
commit | a538bab0659c3bd5ed1da068c11b211cf65d6610 (patch) | |
tree | 45620d9ccfaf1a3e33456ef96daeee4e1fc2d3bd /src/gallium/drivers/vc4/vc4_resource.c | |
parent | 082d8c54c167751defb2f79e3ce4f14217ceaa6e (diff) | |
download | external_mesa3d-a538bab0659c3bd5ed1da068c11b211cf65d6610.zip external_mesa3d-a538bab0659c3bd5ed1da068c11b211cf65d6610.tar.gz external_mesa3d-a538bab0659c3bd5ed1da068c11b211cf65d6610.tar.bz2 |
vc4: Fix viewport handling in the uniforms upload.
I had the right viewports in vc4_emit.c, but grabbed the wrong values in
the uniform setup, so primitives would claim to be in the wrong parts of
the screen. (The vc4_emit.c state looks like it just decides how big the
clipping guardband is).
This gets fbo-viewport closer to working (which still has the problem that
the HW is always guard-band clipping), and fixes inverted FBO rendering in
general.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_resource.c')
0 files changed, 0 insertions, 0 deletions