diff options
author | Rob Clark <[email protected]> | 2013-10-31 09:59:49 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2013-11-01 20:19:42 -0400 |
commit | a53fe2221c3d48b3b1c8bdf4c2da33fe91ad7cda (patch) | |
tree | 4c0f7114b174a80b9bd7b10aeb3a922df8ab8956 /src/gallium/winsys/radeon/tools | |
parent | 310fd5839cd5f221680de8a80ae97e099e0116b7 (diff) |
freedreno/a3xx/compiler: highp frag shader
Fixes use of full-precision in fragment shader (ie. don't clobber r0.x
since that can be used by future bary instructions for varying fetch).
And makes use of full-precision the default in fragment shader (but can
be overriden via FD_MESA_DEBUG=fraghalf).
Seems like half precision is often not enough for texture coordinates.
The blob compiler is clever enough to keep texture coords in full
precision registers while using half precision for everything else. But
we aren't quite that clever yet, so better to default to full precision.
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/winsys/radeon/tools')
0 files changed, 0 insertions, 0 deletions