gallium/swr: Enable some ARB_gpu_shader5 extensions
authorKrzysztof Raszkowski <krzysztof.raszkowski@intel.com>
Fri, 8 Nov 2019 16:04:47 +0000 (16:04 +0000)
committerJan Zielinski <jan.zielinski@intel.com>
Fri, 8 Nov 2019 16:04:47 +0000 (16:04 +0000)
Enable / add to features.txt:
- Enhanced textureGather.
- Geometry shader instancing.
- Geometry shader multiple streams.

Reviewed-by: Jan Zielinski <jan.zielinski@intel.com>
docs/features.txt
src/gallium/drivers/swr/swr_screen.cpp

index 23f03ab9aa59683a6570c6fc944f0ab8b34fd4b9..f2890fee3041288f619b68919de6bdf46f68534b 100644 (file)
@@ -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)
index 6c596a463b4e2c15d271ab4777e37961f9db77b3..480c1500a869f9fc73783103df1d1863bbc5baa8 100644 (file)
@@ -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