diff options
author | Roland Scheidegger <[email protected]> | 2013-01-10 11:16:40 -0800 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2013-01-10 18:02:01 -0800 |
commit | 31884946b5d00ba7e2678ed6641a4ba0d48e3951 (patch) | |
tree | 543500b47b65daba8999d5e94a083f9fdab4c8bf /src/gallium/drivers/r600/eg_sq.h | |
parent | 5eeedb852b8a422f31d4d4f018187020c713fffa (diff) |
gallivm: more integer texture format fetch fixes
Change the texel type to int/uint instead of float throughout the sampling
code which makes it easier to catch errors (as llvm will complain about wrong
types if we mistakenly treat these values as real floats somewhere).
This should also get things like e.g. sampler swizzles (for unused channels)
right.
This fixes piglit texture_integer_glsl130 test.
Border color not working (crashing) yet.
(These formats are not exposed yet in llvmpipe.)
v2: couple cleanups according to José's comments
Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/eg_sq.h')
0 files changed, 0 insertions, 0 deletions