From: Marek Olšák Date: Thu, 12 Dec 2013 16:22:52 +0000 (+0100) Subject: r600g: expose 32-bit integer vertex formats X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b56c7f4df118a4a178988cb6c07154b56e6788db;p=mesa.git r600g: expose 32-bit integer vertex formats This advertises GL_ARB_texture_buffer_object_rgb32. --- 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;