diff options
author | Rob Clark <robclark@freedesktop.org> | 2015-01-04 12:41:02 -0500 |
---|---|---|
committer | Rob Clark <robclark@freedesktop.org> | 2015-01-07 19:37:28 -0500 |
commit | e7026ac486c157b419726e6238d880a83172484d (patch) | |
tree | 41be2e618c60b0147bd78d2a1586c912accccadf /src/mesa/program/arbprogparse.h | |
parent | 1e5c207dba4dbd07919bff2efe57ad361a44ac84 (diff) | |
download | external_mesa3d-e7026ac486c157b419726e6238d880a83172484d.zip external_mesa3d-e7026ac486c157b419726e6238d880a83172484d.tar.gz external_mesa3d-e7026ac486c157b419726e6238d880a83172484d.tar.bz2 |
freedreno/ir3: fix pos_regid > max_reg
We can't (or don't know how to) turn this off. But it can end up being
stored to a higher reg # than what the shader uses, leading to
corruption.
Also we currently aren't clever enough to turn off frag_coord/frag_face
if the input is dead-code, so just fixup max_reg/max_half_reg. Re-org
this a bit so both vp and fp reg footprint fixup are called by a common
fxn used also by ir3_cmdline. Also add a few more output lines for
ir3_cmdline to make it easier to see what is going on.
Signed-off-by: Rob Clark <robclark@freedesktop.org>
Diffstat (limited to 'src/mesa/program/arbprogparse.h')
0 files changed, 0 insertions, 0 deletions