diff options
author | Marek Olšák <[email protected]> | 2013-12-12 17:22:52 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2013-12-14 17:42:08 +0100 |
commit | b56c7f4df118a4a178988cb6c07154b56e6788db (patch) | |
tree | 9f5f751dd1a1ab6d119e384de332b2a688a02b6b /src/gallium/drivers | |
parent | 2eb321b992183bfa7a84209ff059f1e2b902247e (diff) |
r600g: expose 32-bit integer vertex formats
This advertises GL_ARB_texture_buffer_object_rgb32.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/r600/r600_formats.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_formats.h b/src/gallium/drivers/r600/r600_formats.h index 453c2b12c0d..fa374d92e6f 100644 --- a/src/gallium/drivers/r600/r600_formats.h +++ b/src/gallium/drivers/r600/r600_formats.h @@ -110,6 +110,7 @@ static INLINE bool r600_is_vertex_format_supported(enum pipe_format format) /* No scaled/norm formats with 32 bits per channel. */ if (desc->channel[i].size == 32 && + !desc->channel[i].pure_integer && (desc->channel[i].type == UTIL_FORMAT_TYPE_SIGNED || desc->channel[i].type == UTIL_FORMAT_TYPE_UNSIGNED)) return false; |