aboutsummaryrefslogtreecommitdiffstats
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
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]>
-rw-r--r--docs/features.txt2
-rw-r--r--src/gallium/drivers/swr/swr_screen.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/features.txt b/docs/features.txt
index 862b6f9d00c..f379f53bf2f 100644
--- a/docs/features.txt
+++ b/docs/features.txt
@@ -184,7 +184,7 @@ GL 4.3, GLSL 4.30 -- all DONE: i965/gen8+, nvc0, r600, radeonsi, virgl
GL_ARB_shader_image_size DONE (freedreno/a5xx+, i965, softpipe)
GL_ARB_shader_storage_buffer_object DONE (freedreno/a5xx+, i965, softpipe)
GL_ARB_stencil_texturing DONE (freedreno, i965/hsw+, nv50, llvmpipe, softpipe, swr)
- GL_ARB_texture_buffer_range DONE (freedreno, nv50, i965, softpipe, llvmpipe)
+ GL_ARB_texture_buffer_range DONE (freedreno, nv50, i965, softpipe, llvmpipe, swr)
GL_ARB_texture_query_levels DONE (all drivers that support GLSL 1.30)
GL_ARB_texture_storage_multisample DONE (all drivers that support GL_ARB_texture_multisample)
GL_ARB_texture_view DONE (freedreno, i965, nv50, llvmpipe, softpipe, swr)
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: