From b56c7f4df118a4a178988cb6c07154b56e6788db Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Thu, 12 Dec 2013 17:22:52 +0100 Subject: r600g: expose 32-bit integer vertex formats This advertises GL_ARB_texture_buffer_object_rgb32. --- src/gallium/drivers/r600/r600_formats.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/r600') 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; -- cgit v1.2.3