Re: [Mesa-dev] [PATCH 18/18] meta: Unconditionally set GL_SKIP_DECODE_EXT

2016-01-09 Thread Jason Ekstrand
On Jan 8, 2016 7:00 PM, "Ian Romanick" wrote: > > From: Ian Romanick > > The path that depends on this will be avoided (by fallback_required) if > the extension is not supported. _mesa_set_sampler_srgb_decode does not > generate GL errors (by

Re: [Mesa-dev] [PATCH 02/18] mesa: Add _mesa_set_sampler_filters method

2016-01-09 Thread Jason Ekstrand
On Jan 8, 2016 6:59 PM, "Ian Romanick" wrote: > > From: Ian Romanick > > Signed-off-by: Ian Romanick > --- > src/mesa/main/samplerobj.c | 12 > src/mesa/main/samplerobj.h | 5 + > 2 files changed, 17

Re: [Mesa-dev] [PATCH 07/18] meta/blit: Save and restore the sampler using gl_sampler_object instead of GL API object handle

2016-01-09 Thread Jason Ekstrand
On Jan 8, 2016 6:59 PM, "Ian Romanick" wrote: > > From: Ian Romanick > > Some meta operations can be called recursively. Future changes (the > "Don't pollute the ... namespace" changes) will cause objects with > invalid names to be used. If a

Re: [Mesa-dev] [PATCH 00/18] Stop using client APIs for sampler objects

2016-01-09 Thread Jason Ekstrand
On Jan 8, 2016 7:01 PM, "Ian Romanick" wrote: > > From: Ian Romanick > > This is the second of several series to stop using client APIs in meta. > The first series removed the use of buffer object client APIs, and it > landed last year. Most of

Re: [Mesa-dev] [PATCH] Add missing platform information for KBL

2016-01-09 Thread Kristian Høgsberg Kristensen
Mark Janes writes: > Sarah Sharp writes: > >> On Fri, Jan 08, 2016 at 04:30:20PM -0800, Mark Janes wrote: >>> In testing KBL, I found: >>> >>> - urb size was not set for slices gt1.5, gt2, and gt3. The value I >>>used for these slices

[Mesa-dev] [PATCH 8/9] gallium: add PIPE_CAP_QUERY_BUFFER_OBJECT

2016-01-09 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- src/gallium/docs/source/screen.rst | 2 ++ src/gallium/drivers/freedreno/freedreno_screen.c | 1 + src/gallium/drivers/ilo/ilo_screen.c | 1 + src/gallium/drivers/llvmpipe/lp_screen.c | 1 +

[Mesa-dev] [PATCH 9/9] st/mesa: add query buffer support

2016-01-09 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- src/mesa/state_tracker/st_cb_bufferobjects.c | 3 + src/mesa/state_tracker/st_cb_queryobj.c | 100 +- src/mesa/state_tracker/st_cb_texturebarrier.c | 3 + src/mesa/state_tracker/st_extensions.c| 1 +

[Mesa-dev] [PATCH 5/9] mesa: add driver interface for writing query results to buffers

2016-01-09 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- src/mesa/main/dd.h | 9 + 1 file changed, 9 insertions(+) diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h index e5281ce..d8f57a7 100644 --- a/src/mesa/main/dd.h +++ b/src/mesa/main/dd.h @@ -721,6 +721,15 @@ struct

[Mesa-dev] [PATCH 0/9] Add core and gallium ARB_query_buffer_object support

2016-01-09 Thread Ilia Mirkin
This patchset doesn't actually add any hardware support. I want to see what people think of this interface, and would like to adjust it before I do an implementation on nvc0. TBH, I can't say I really love either the dd nor the gallium functions I'm adding. However I also can't think of a

[Mesa-dev] [PATCH 7/9] gallium: add a way to store query result into buffer

2016-01-09 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- src/gallium/docs/source/context.rst | 5 + src/gallium/include/pipe/p_context.h | 24 src/gallium/include/pipe/p_defines.h | 2 ++ 3 files changed, 31 insertions(+) diff --git

[Mesa-dev] [PATCH 3/9] mesa: Add QueryBuffer to context

2016-01-09 Thread Ilia Mirkin
From: Rafal Mielniczuk Add QueryBuffer and initialise it to NullBufferObj on start Signed-off-by: Rafal Mielniczuk [imirkin: also release QueryBuffer on free] Signed-off-by: Ilia Mirkin ---

[Mesa-dev] [PATCH 1/9] glapi: Add xml infrastructure for ARB_query_buffer_object

2016-01-09 Thread Ilia Mirkin
From: Rafal Mielniczuk Signed-off-by: Rafal Mielniczuk [imirkin: move definition to gl_API.xml as it is very short] Signed-off-by: Ilia Mirkin --- src/mapi/glapi/gen/gl_API.xml | 9 - 1 file changed, 8

[Mesa-dev] [PATCH 6/9] mesa: add core implementation of ARB_query_buffer_object

2016-01-09 Thread Ilia Mirkin
Forwards query result writes to drivers. Signed-off-by: Ilia Mirkin --- src/mesa/main/queryobj.c | 280 ++- 1 file changed, 133 insertions(+), 147 deletions(-) diff --git a/src/mesa/main/queryobj.c b/src/mesa/main/queryobj.c

[Mesa-dev] [PATCH 2/9] mesa: Add ARB_query_buffer_object extension flag

2016-01-09 Thread Ilia Mirkin
From: Rafal Mielniczuk Signed-off-by: Rafal Mielniczuk [imirkin: add string to extensions.c] Signed-off-by: Ilia Mirkin --- src/mesa/main/extensions_table.h | 1 + src/mesa/main/mtypes.h | 1 + 2 files

[Mesa-dev] [PATCH 4/9] mesa: Handle QUERY_BUFFER_BINDING in GetIntegerv

2016-01-09 Thread Ilia Mirkin
From: Rafal Mielniczuk Signed-off-by: Rafal Mielniczuk [imirkin: move to GL/GL_CORE section] Signed-off-by: Ilia Mirkin --- src/mesa/main/get.c | 5 + src/mesa/main/get_hash_params.py | 3 +++ 2