aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Raszkowski <[email protected]>2019-11-08 16:04:47 +0000
committerJan Zielinski <[email protected]>2019-11-08 16:04:47 +0000
commit084431ce45b3421ef224a16652559713151b122a (patch)
treea91130375c8cf46ae76e9cd79a5a157e90ee9db6
parente5ed9a1b91b6c047a229296908ef461dabac049a (diff)
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 <[email protected]>
-rw-r--r--docs/features.txt6
-rw-r--r--src/gallium/drivers/swr/swr_screen.cpp1
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