[Mesa-dev] [PATCH 1/3] gallium: add basic support for ARB_sample_shading

2014-03-30 Thread Ilia Mirkin
--- src/gallium/auxiliary/tgsi/tgsi_strings.c | 5 - src/gallium/docs/source/context.rst| 3 +++ src/gallium/docs/source/screen.rst | 3 +++ src/gallium/docs/source/tgsi.rst | 20 src/gallium/include/pipe/p_context.h | 3 +++ src/galliu

[Mesa-dev] [PATCH 3/3] nv50: add support for PIPE_CAP_SAMPLE_SHADING

2014-03-30 Thread Ilia Mirkin
--- This doesn't actually pass any tests (well, sample-id passes for texture, but not renderbuffer attachments). src/gallium/drivers/nouveau/codegen/nv50_ir.h | 1 + .../drivers/nouveau/codegen/nv50_ir_driver.h | 1 + .../drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp | 8 ...

[Mesa-dev] [PATCH 2/3] mesa/st: add support for ARB_sample_shading

2014-03-30 Thread Ilia Mirkin
--- src/gallium/auxiliary/cso_cache/cso_context.c| 19 src/gallium/auxiliary/cso_cache/cso_context.h| 4 +++ src/gallium/drivers/freedreno/freedreno_screen.c | 1 + src/gallium/drivers/i915/i915_screen.c | 1 + src/gallium/drivers/ilo/ilo_screen.c | 1

[Mesa-dev] [PATCH 0/3] Sample shading support in gallium

2014-03-30 Thread Ilia Mirkin
This patch series adds enough support to gallium to make ARB_sample_shading work. There's also an initial implementation for nv50 although it doesn't actually to work. I've done some amount of debugging and don't see what's going wrong yet. However all the TGSI (and nv50) shaders contain the expect

[Mesa-dev] [PATCH] glx: Do not advertise buffer_age on dri2

2014-03-30 Thread Adel Gadllah
Previously GLX_EXT_buffer_age has always been advertised as supported because both client_glx_support and client_glx_only where set. So it did not matter that direct_support is only set when running dri3 and we ended up always advertising it. Fix that by not setting client_glx_only for buffer_age

Re: [Mesa-dev] [PATCH 1/2] st: fix st_choose_matching_format to ignore intensity

2014-03-30 Thread Marek Olšák
This patch: Reviewed-by: Marek Olšák Marek On Sat, Mar 29, 2014 at 12:02 AM, Chris Forbes wrote: > _mesa_format_matches_format_and_type() returns true for > GL_RED/GL_RED_INTEGER (with an appropriate type) into an intensity > mesa_format. > > We want the `red`-based format instead, regardless

Re: [Mesa-dev] [PATCH 1/2] st: fix st_choose_matching_format to ignore intensity

2014-03-30 Thread Chris Forbes
On Sun, Mar 30, 2014 at 12:36 AM, Brian Paul wrote: > Let's put that closing */ on the next line to match the format of other > comments. I keep doing that -- I guess I should fix my editor. :( > For both, Reviewed-by: Brian PaulHowever, have you > retested piglit with softpipe just to be sa