<div dir="ltr">On 25 October 2013 16:44, Anuj Phogat <span dir="ltr"><<a href="mailto:anuj.phogat@gmail.com" target="_blank">anuj.phogat@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Patches listed below implement the GL_ARB_sample_shading extension<br>
on Intel hardware >= gen6. I verified the implementation with a<br>
number of piglit tests, currently under review on piglit mailing<br>
list. Observed no piglit, gles3 CTS regressions with these patches<br>
on SNB, IVB & HSW.<br>
These patches can also be found at my github branch:<br>
<a href="https://github.com/aphogat/mesa.git" target="_blank">https://github.com/aphogat/mesa.git</a> branch: sample-shading-8<br>
<br>
This is the V2 of the series I posted earlier. "[PATCH 5/8] i965:<br>
Implement FS backend for ARB_sample_shading" in my original series<br>
is split in to 3 patches here. Changes in individual patches are<br>
listed in commit message. Following patches in this series need a<br>
'reviewed-by'.<br>
4/12, 6/12, 7/12, 8/12, 9/12, 10/12, 11,12<br></blockquote><div><br></div><div>I sent comments on patches 4, 7, 8, 9, 10, and 11. Patch 6 is:<br><br>Reviewed-by: Paul Berry <<a href="mailto:stereotype441@gmail.com">stereotype441@gmail.com</a>><br>
<br></div><div>Note that in my comments on patch 11, I recommend some changes be made to brw_fs_visitor.cpp. Those changes probably belong somewhere in patches 7-9.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Anuj Phogat (12):<br>
mesa: Add infrastructure for GL_ARB_sample_shading<br>
mesa: Add new functions and enums required by GL_ARB_sample_shading<br>
mesa: Pass number of samples as a program state variable<br>
mesa: Add a helper function _mesa_get_min_invocations_per_fragment()<br>
glsl: Add new builtins required by GL_ARB_sample_shading<br>
i965: Don't do vector splitting for ir_var_system_value<br>
i965: Add FS backend for builtin gl_SamplePosition<br>
i965: Add FS backend for builtin gl_SampleID<br>
i965: Add FS backend for builtin gl_SampleMask[]<br>
i965/gen6: Enable the features required for GL_ARB_sample_shading<br>
i965/gen7: Enable the features required for GL_ARB_sample_shading<br>
i965: Enable ARB_sample_shading on intel hardware >= gen6<br>
<br>
src/glsl/builtin_variables.cpp | 18 ++++<br>
src/glsl/glcpp/glcpp-parse.y | 3 +<br>
src/glsl/glsl_parser_extras.cpp | 1 +<br>
src/glsl/glsl_parser_extras.h | 2 +<br>
src/glsl/standalone_scaffolding.cpp | 1 +<br>
src/mapi/glapi/gen/ARB_sample_shading.xml | 19 ++++<br>
src/mapi/glapi/gen/GL4x.xml | 21 ++++<br>
src/mapi/glapi/gen/Makefile.am | 4 +-<br>
src/mapi/glapi/gen/gl_API.xml | 3 +-<br>
src/mesa/drivers/dri/i965/brw_context.h | 2 +<br>
src/mesa/drivers/dri/i965/brw_defines.h | 2 +<br>
src/mesa/drivers/dri/i965/brw_fs.cpp | 114 +++++++++++++++++++++<br>
src/mesa/drivers/dri/i965/brw_fs.h | 14 +++<br>
src/mesa/drivers/dri/i965/brw_fs_generator.cpp | 50 +++++++++<br>
.../drivers/dri/i965/brw_fs_vector_splitting.cpp | 1 +<br>
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp | 22 ++++<br>
src/mesa/drivers/dri/i965/brw_wm.c | 12 +++<br>
src/mesa/drivers/dri/i965/brw_wm.h | 3 +<br>
src/mesa/drivers/dri/i965/gen6_wm_state.c | 52 +++++++++-<br>
src/mesa/drivers/dri/i965/gen7_wm_state.c | 53 +++++++++-<br>
src/mesa/drivers/dri/i965/intel_extensions.c | 1 +<br>
src/mesa/main/enable.c | 16 +++<br>
src/mesa/main/extensions.c | 1 +<br>
src/mesa/main/get.c | 8 ++<br>
src/mesa/main/get_hash_params.py | 3 +<br>
src/mesa/main/mtypes.h | 13 ++-<br>
src/mesa/main/multisample.c | 18 ++++<br>
src/mesa/main/multisample.h | 2 +<br>
src/mesa/main/tests/dispatch_sanity.cpp | 2 +-<br>
src/mesa/program/prog_print.c | 1 +<br>
src/mesa/program/prog_statevars.c | 11 ++<br>
src/mesa/program/prog_statevars.h | 2 +<br>
src/mesa/program/program.c | 31 ++++++<br>
src/mesa/program/program.h | 3 +<br>
34 files changed, 499 insertions(+), 10 deletions(-)<br>
create mode 100644 src/mapi/glapi/gen/ARB_sample_shading.xml<br>
create mode 100644 src/mapi/glapi/gen/GL4x.xml<br>
<span><font color="#888888"><br>
--<br>
1.8.1.4<br>
<br>
</font></span></blockquote></div><br></div></div>