From 084431ce45b3421ef224a16652559713151b122a Mon Sep 17 00:00:00 2001 From: Krzysztof Raszkowski Date: Fri, 8 Nov 2019 16:04:47 +0000 Subject: [PATCH] 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 --- 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 -- 2.30.2