diff options
author | Dave Airlie <[email protected]> | 2017-02-27 11:30:41 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-03-15 09:51:53 +1000 |
commit | 3ece76f03dc01bb654f47864b5da3a72c250c8b4 (patch) | |
tree | 3cf4d624d1311bf8122ace837cbffb197290b6d7 /src/glx/SConscript | |
parent | 407fa776698e768c9cf47612343502f271960548 (diff) |
radv/ac: gather4 cube workaround integer
This fix is extracted from amdgpu-pro shader traces.
It appears the gather4 workaround for integer types doesn't
work for cubes, so instead if forces a float scaled sample,
then converts to integer.
It modifies the descriptor before calling the gather.
This also produces some ugly asm code for reasons specified
in the patch, llvm could probably do better than dumping
sgprs to vgprs.
This fixes:
dEQP-VK.glsl.texture_gather.basic.cube.rgba8*
Acked-by: Bas Nieuwenhuizen <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/glx/SConscript')
0 files changed, 0 insertions, 0 deletions