This patch set adds support for GL_ARB_sample_locations in mesa core, gallium, the mesa OpenGL state tracker and the nvc0 driver.
Rhys Perry (5): mesa: add support for ARB_sample_locations gallium: add support for programmable sample locations st/mesa: add support for ARB_sample_locations nvc0: add support for programmable sample locations docs/features: mark GL_ARB_sample_locations as DONE for nvc0 docs/features.txt | 2 +- src/gallium/auxiliary/cso_cache/cso_context.c | 31 +++ src/gallium/auxiliary/cso_cache/cso_context.h | 5 + src/gallium/auxiliary/util/u_framebuffer.c | 32 +++ src/gallium/auxiliary/util/u_framebuffer.h | 6 + src/gallium/docs/source/context.rst | 2 + src/gallium/docs/source/screen.rst | 3 + src/gallium/drivers/etnaviv/etnaviv_screen.c | 1 + src/gallium/drivers/freedreno/freedreno_screen.c | 1 + src/gallium/drivers/i915/i915_screen.c | 1 + src/gallium/drivers/llvmpipe/lp_screen.c | 1 + .../drivers/nouveau/codegen/nv50_ir_driver.h | 2 + .../drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp | 7 + .../nouveau/codegen/nv50_ir_lowering_nvc0.cpp | 91 +++++++- .../nouveau/codegen/nv50_ir_lowering_nvc0.h | 2 + src/gallium/drivers/nouveau/nv30/nv30_screen.c | 1 + src/gallium/drivers/nouveau/nv50/nv50_miptree.c | 1 + src/gallium/drivers/nouveau/nv50/nv50_resource.h | 1 + src/gallium/drivers/nouveau/nv50/nv50_screen.c | 1 + src/gallium/drivers/nouveau/nvc0/nvc0_context.c | 35 +++ src/gallium/drivers/nouveau/nvc0/nvc0_context.h | 12 +- src/gallium/drivers/nouveau/nvc0/nvc0_miptree.c | 1 + src/gallium/drivers/nouveau/nvc0/nvc0_program.c | 3 + src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 1 + src/gallium/drivers/nouveau/nvc0/nvc0_state.c | 11 + .../drivers/nouveau/nvc0/nvc0_state_validate.c | 155 ++++++++++--- src/gallium/drivers/r300/r300_screen.c | 1 + src/gallium/drivers/r600/r600_pipe.c | 1 + src/gallium/drivers/radeonsi/si_get.c | 1 + src/gallium/drivers/softpipe/sp_screen.c | 1 + src/gallium/drivers/svga/svga_screen.c | 1 + src/gallium/drivers/swr/swr_screen.cpp | 1 + src/gallium/drivers/vc4/vc4_screen.c | 1 + src/gallium/drivers/vc5/vc5_screen.c | 1 + src/gallium/drivers/virgl/virgl_screen.c | 1 + src/gallium/include/pipe/p_context.h | 17 +- src/gallium/include/pipe/p_defines.h | 1 + src/gallium/include/pipe/p_state.h | 26 +++ src/mapi/glapi/gen/gl_API.xml | 52 +++++ src/mesa/main/config.h | 7 + src/mesa/main/dd.h | 7 + src/mesa/main/extensions_table.h | 1 + src/mesa/main/fbobject.c | 247 ++++++++++++++++++--- src/mesa/main/fbobject.h | 20 ++ src/mesa/main/framebuffer.c | 10 + src/mesa/main/get.c | 32 +++ src/mesa/main/get_hash_params.py | 6 + src/mesa/main/mtypes.h | 6 + src/mesa/main/multisample.c | 18 ++ src/mesa/main/tests/dispatch_sanity.cpp | 10 + src/mesa/state_tracker/st_atom_framebuffer.c | 64 ++++++ src/mesa/state_tracker/st_cb_msaa.c | 22 ++ src/mesa/state_tracker/st_extensions.c | 1 + 53 files changed, 893 insertions(+), 72 deletions(-) -- 2.14.3 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev