[Mesa-dev] [PATCH 9/9] r600g: expose 32-bit integer vertex formats

Marek Olšák maraeo at gmail.com
Thu Dec 12 10:00:15 PST 2013


From: Marek Olšák <marek.olsak at amd.com>

This advertises GL_ARB_texture_buffer_object_rgb32.
---
 src/gallium/drivers/r600/r600_formats.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/drivers/r600/r600_formats.h b/src/gallium/drivers/r600/r600_formats.h
index 453c2b1..fa374d9 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;
-- 
1.8.3.2



More information about the mesa-dev mailing list