On Mon, 02 Mar 2015 12:54:18 +0100, Marek Olšák <mar...@gmail.com> wrote:

From: Marek Olšák <marek.ol...@amd.com>

---
 docs/GL3.txt                             | 2 +-
 src/gallium/drivers/radeonsi/si_shader.c | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/docs/GL3.txt b/docs/GL3.txt
index 43bbf85..0487cdf 100644
--- a/docs/GL3.txt
+++ b/docs/GL3.txt
@@ -106,7 +106,7 @@ GL 4.0, GLSL 4.00:
- Enhanced textureGather DONE (r600, radeonsi)
   - Geometry shader instancing                         DONE (r600)
   - Geometry shader multiple streams                   DONE ()
-  - Enhanced per-sample shading                        DONE (r600)
+ - Enhanced per-sample shading DONE (r600, radeonsi)
   - Interpolation functions                            DONE (r600)
   - New overload resolution rules                      DONE
GL_ARB_gpu_shader_fp64 DONE (nvc0, softpipe) diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c
index 085a350..8001ea2 100644
--- a/src/gallium/drivers/radeonsi/si_shader.c
+++ b/src/gallium/drivers/radeonsi/si_shader.c
@@ -680,6 +680,10 @@ static void declare_system_value(
                break;
        }
+       case TGSI_SEMANTIC_SAMPLEMASK:
+               value = LLVMGetParam(radeon_bld->main_fn, 
SI_PARAM_SAMPLE_COVERAGE);
+               break;
+
        default:
                assert(!"unknown system value");
                return;

Patches 4-9 are
Reviewed-by: Glenn Kennard <glenn.kenn...@gmail.com>
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to