diff options
author | Dave Airlie <[email protected]> | 2011-09-26 19:06:40 +0100 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2011-10-09 10:06:18 +0100 |
commit | 0110aa09e5898987ee86586e438ac571075eba3a (patch) | |
tree | 23c17fba5c8f909f6b9af6bae405986ef03b4f11 /src/gallium/drivers/r600/r600_texture.c | |
parent | 4e28e6f6c777841b9ffe7a7ad1e865e2595f70f9 (diff) |
r600g/eg: add integer types support
adds handling for int texture/vertices to evergreen.
TODO r600/700 support.
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_texture.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_texture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_texture.c b/src/gallium/drivers/r600/r600_texture.c index c3709b0cf54..acb181139bf 100644 --- a/src/gallium/drivers/r600/r600_texture.c +++ b/src/gallium/drivers/r600/r600_texture.c @@ -1061,7 +1061,7 @@ uint32_t r600_translate_texformat(struct pipe_screen *screen, } #endif if (desc->colorspace != UTIL_FORMAT_COLORSPACE_SRGB && - !desc->channel[i].normalized) + desc->channel[i].pure_integer) word4 |= S_038010_NUM_FORMAT_ALL(V_038010_SQ_NUM_FORMAT_INT); switch (desc->channel[i].size) { |