[virglrenderer-devel] [PATCH 1/4] vrend: set texture buffer offset alignment to 0
Dave Airlie
airlied at gmail.com
Fri May 18 02:10:18 UTC 2018
From: Dave Airlie <airlied at redhat.com>
Until we support ARB_texture_buffer_range we shouldn't report
this value as mesa will enable the extension.
---
src/vrend_renderer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/vrend_renderer.c b/src/vrend_renderer.c
index 614b5ce..930dede 100644
--- a/src/vrend_renderer.c
+++ b/src/vrend_renderer.c
@@ -7139,7 +7139,7 @@ void vrend_renderer_fill_caps(uint32_t set, uint32_t version,
glGetIntegerv(GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT, &caps->v2.uniform_buffer_offset_alignment);
if (gl_ver >= 43) {
- glGetIntegerv(GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT, &caps->v2.texture_buffer_offset_alignment);
+ caps->v2.texture_buffer_offset_alignment = 0;
glGetIntegerv(GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT, &caps->v2.shader_buffer_offset_alignment);
}
--
2.14.3
More information about the virglrenderer-devel
mailing list