[Mesa-dev] [PATCH 0/8] Implement GL_ARB_sample_shading on Intel hardware
Anuj Phogat
anuj.phogat at gmail.com
Mon Oct 14 19:12:48 CEST 2013
Patches listed below implement the GL_ARB_sample_shading extension
on Intel hardware >= gen6. I verified the implementation with a
number of piglit tests, currently under review on piglit mailing
list. Observed no piglit, gles3 CTS regressions with these patches
on SNB & IVB.
These patches can also be found at my github branch:
https://github.com/aphogat/mesa.git branch: sample-shading-5
Anuj Phogat (8):
mesa: Add infrastructure for GL_ARB_sample_shading
mesa: Add new functions and enums required by GL_ARB_sample_shading
mesa: Pass number of samples as a program state variable
glsl: Add new builtins required by GL_ARB_sample_shading
i965: Implement FS backend for ARB_sample_shading
i965/gen6: Enable the features required for GL_ARB_sample_shading
i965/gen7: Enable the features required for GL_ARB_sample_shading
i965: Enable ARB_sample_shading on intel hardware >= gen6
src/glsl/builtin_variables.cpp | 11 +++
src/glsl/glcpp/glcpp-parse.y | 3 +
src/glsl/glsl_parser_extras.cpp | 1 +
src/glsl/glsl_parser_extras.h | 2 +
src/glsl/link_varyings.cpp | 2 +
src/glsl/standalone_scaffolding.cpp | 1 +
src/mapi/glapi/gen/ARB_sample_shading.xml | 19 +++++
src/mapi/glapi/gen/GL3x.xml | 5 ++
src/mapi/glapi/gen/gl_API.xml | 2 +-
src/mesa/drivers/dri/i965/brw_fs.cpp | 109 +++++++++++++++++++++++++++
src/mesa/drivers/dri/i965/brw_fs.h | 4 +
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp | 23 ++++++
src/mesa/drivers/dri/i965/brw_wm.h | 1 +
src/mesa/drivers/dri/i965/gen6_wm_state.c | 67 +++++++++++++++-
src/mesa/drivers/dri/i965/gen7_wm_state.c | 70 ++++++++++++++++-
src/mesa/drivers/dri/i965/intel_extensions.c | 1 +
src/mesa/main/enable.c | 16 ++++
src/mesa/main/extensions.c | 1 +
src/mesa/main/get.c | 4 +
src/mesa/main/get_hash_params.py | 3 +
src/mesa/main/mtypes.h | 10 ++-
src/mesa/main/multisample.c | 13 ++++
src/mesa/main/multisample.h | 2 +
src/mesa/main/tests/dispatch_sanity.cpp | 4 +-
src/mesa/program/prog_print.c | 5 ++
src/mesa/program/prog_statevars.c | 11 +++
src/mesa/program/prog_statevars.h | 2 +
27 files changed, 382 insertions(+), 10 deletions(-)
create mode 100644 src/mapi/glapi/gen/ARB_sample_shading.xml
--
1.8.1.4
More information about the mesa-dev
mailing list