Module: Mesa Branch: master Commit: b56c7f4df118a4a178988cb6c07154b56e6788db URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b56c7f4df118a4a178988cb6c07154b56e6788db
Author: Marek Olšák <[email protected]> Date: Thu Dec 12 17:22:52 2013 +0100 r600g: expose 32-bit integer vertex formats This advertises GL_ARB_texture_buffer_object_rgb32. --- 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 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; _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
