commit | 6051c11d17645b973f975b25cfdebc027dc36be7 | [log] [tgz] |
---|---|---|
author | Eric Anholt <eric@anholt.net> | Wed Dec 26 22:45:04 2018 -0800 |
committer | Eric Anholt <eric@anholt.net> | Tue Jan 08 13:03:41 2019 -0800 |
tree | a8165263f0db7569c44358dfeced251b4c862dfb | |
parent | 3fcec4a5505a51e90b07be8c392189fa7799d368 [diff] |
nir: Add nir_lower_tex support for Broadcom's swizzled TG4 results. V3D returns the texels in a different order in the resulting vec4 from what GLSL wants, so we need to put in a swizzle. Fixes dEQP-GLES31.functional.texture.gather.basic.2d.rgba8.base_level.level_1 Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>