summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJan Zielinski <[email protected]>2019-05-27 14:21:49 +0200
committerAlok Hota <[email protected]>2019-05-30 15:42:15 +0000
commitb31a31bba512ddc9358f1bf66395a8b2b7b2c0b1 (patch)
treeac6f4fd9f0e2f76aa3411d3a7d40ad7d96a9e44f /src
parentcf673747cefca03c2b672db6788c1ac2af6d9f33 (diff)
swr/rast: Enable ARB_GL_texture_buffer_range
No significant changes in the code needed to enable the extension. Just updating SWR capabilities and the documentation Reviewed-by: Alok Hota <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/swr/swr_screen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/swr/swr_screen.cpp b/src/gallium/drivers/swr/swr_screen.cpp
index 63e235c6676..0164611a508 100644
--- a/src/gallium/drivers/swr/swr_screen.cpp
+++ b/src/gallium/drivers/swr/swr_screen.cpp
@@ -201,7 +201,7 @@ swr_get_param(struct pipe_screen *screen, enum pipe_cap param)
case PIPE_CAP_MAX_TEXTURE_BUFFER_SIZE:
return 65536;
case PIPE_CAP_TEXTURE_BUFFER_OFFSET_ALIGNMENT:
- return 0;
+ return 1;
case PIPE_CAP_MAX_VIEWPORTS:
return 1;
case PIPE_CAP_ENDIANNESS: