Mesa (master): gallium/swr: Enable some ARB_gpu_shader5 extensions

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Nov 8 16:04:52 UTC 2019


Module: Mesa
Branch: master
Commit: 084431ce45b3421ef224a16652559713151b122a
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=084431ce45b3421ef224a16652559713151b122a

Author: Krzysztof Raszkowski <krzysztof.raszkowski at intel.com>
Date:   Fri Nov  8 16:04:47 2019 +0000

gallium/swr: Enable some ARB_gpu_shader5 extensions
Enable / add to features.txt:
- Enhanced textureGather.
- Geometry shader instancing.
- Geometry shader multiple streams.

Reviewed-by: Jan Zielinski <jan.zielinski at intel.com>

---

 docs/features.txt                      | 6 +++---
 src/gallium/drivers/swr/swr_screen.cpp | 1 +
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/docs/features.txt b/docs/features.txt
index 23f03ab9aa5..f2890fee304 100644
--- a/docs/features.txt
+++ b/docs/features.txt
@@ -121,9 +121,9 @@ GL 4.0, GLSL 4.00 --- all DONE: i965/gen7+, nvc0, r600, radeonsi, virgl
   - Implicit signed -> unsigned conversions             DONE (softpipe)
   - Fused multiply-add                                  DONE (softpipe)
   - Packing/bitfield/conversion functions               DONE (freedreno, softpipe)
-  - Enhanced textureGather                              DONE (freedreno, softpipe)
-  - Geometry shader instancing                          DONE (llvmpipe, softpipe)
-  - Geometry shader multiple streams                    DONE (softpipe)
+  - Enhanced textureGather                              DONE (freedreno, softpipe, swr)
+  - Geometry shader instancing                          DONE (llvmpipe, softpipe, swr)
+  - Geometry shader multiple streams                    DONE (softpipe, swr)
   - Enhanced per-sample shading                         DONE ()
   - Interpolation functions                             DONE (softpipe)
   - New overload resolution rules                       DONE (softpipe)
diff --git a/src/gallium/drivers/swr/swr_screen.cpp b/src/gallium/drivers/swr/swr_screen.cpp
index 6c596a463b4..480c1500a86 100644
--- a/src/gallium/drivers/swr/swr_screen.cpp
+++ b/src/gallium/drivers/swr/swr_screen.cpp
@@ -274,6 +274,7 @@ swr_get_param(struct pipe_screen *screen, enum pipe_cap param)
    case PIPE_CAP_DOUBLES:
    case PIPE_CAP_TEXTURE_QUERY_LOD:
    case PIPE_CAP_COPY_BETWEEN_COMPRESSED_AND_PLAIN_FORMATS:
+   case PIPE_CAP_TGSI_TG4_COMPONENT_IN_SWIZZLE:
       return 1;
 
    /* MSAA support




More information about the mesa-commit mailing list