[Mesa-dev] [Bug 77263] New: [BDW GT3]System hangs while running glxgear with SNA

2014-04-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=77263 Priority: medium Bug ID: 77263 Assignee: mesa-dev@lists.freedesktop.org Summary: [BDW GT3]System hangs while running glxgear with SNA Severity: normal Classification: Unclassified

[Mesa-dev] [PATCH] [RFC] st/mesa: overhaul texture maxlevel handling and fallout

2014-04-09 Thread Dave Airlie
So I wanted to implement ARB_texture_query_levels, in order to get the right answers I had to make sure the gallium texture has the same levels as the mesa one, so the hw is programmed correctly. This led to some fallout as we were suddenly hitting the finalize texture reallocation path in cases w

[Mesa-dev] [PATCH 1/2] gallium: add a way to query min/max texture gather offsets

2014-04-09 Thread Ilia Mirkin
Defaults to providing the same offsets as MIN/MAX_TEXEL_OFFSET. For nvc0, the offset can be -32/31. Signed-off-by: Ilia Mirkin --- src/gallium/docs/source/screen.rst | 4 src/gallium/drivers/freedreno/freedreno_screen.c | 2 ++ src/gallium/drivers/i915/i915_screen.c

[Mesa-dev] [PATCH 2/2] mesa/st: set min/max texture gather offset to driver-reported value

2014-04-09 Thread Ilia Mirkin
It was always getting set to -8/7 unconditionally. Use the driver-reported value instead. Signed-off-by: Ilia Mirkin --- src/mesa/state_tracker/st_extensions.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c

Re: [Mesa-dev] [PATCH 1/5] mesa: use malloc/free instead of MALLOC/FREE in attrib stack code

2014-04-09 Thread Kenneth Graunke
On 04/09/2014 06:39 PM, Brian Paul wrote: > We moved away from MALLOC/FREE in the rest of core Mesa a while ago. > --- > src/mesa/main/attrib.c | 20 ++-- > 1 file changed, 10 insertions(+), 10 deletions(-) Series is: Reviewed-by: Kenneth Graunke signature.asc Description:

[Mesa-dev] [PATCH 2/4] glxinfo: Print GL_ARB_vertex_attrib_binding limits

2014-04-09 Thread Fredrik Höglund
--- src/xdemos/glxinfo.c | 5 + 1 file changed, 5 insertions(+) diff --git a/src/xdemos/glxinfo.c b/src/xdemos/glxinfo.c index a77e808..f97ba3e 100644 --- a/src/xdemos/glxinfo.c +++ b/src/xdemos/glxinfo.c @@ -681,6 +681,11 @@ print_limits(const char *extensions, const char *oglstring)

[Mesa-dev] [PATCH 4/4] glxinfo: Remove the ARB suffixes from core enums

2014-04-09 Thread Fredrik Höglund
The suffix is only removed from the printed names in case someone wants to build glxinfo against an old implementation. --- src/xdemos/glxinfo.c | 34 +- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/xdemos/glxinfo.c b/src/xdemos/glxinfo.c inde

[Mesa-dev] [PATCH 3/4] glxinfo: Print GL_EXT_texture_array limits

2014-04-09 Thread Fredrik Höglund
--- src/xdemos/glxinfo.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/xdemos/glxinfo.c b/src/xdemos/glxinfo.c index f97ba3e..f8a4e51 100644 --- a/src/xdemos/glxinfo.c +++ b/src/xdemos/glxinfo.c @@ -628,6 +628,9 @@ print_limits(const char *extensions, const char *oglstring) { 1

[Mesa-dev] [PATCH 1/4] glxinfo: Print XFB, TBO, and UBO limits

2014-04-09 Thread Fredrik Höglund
--- src/xdemos/glxinfo.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/src/xdemos/glxinfo.c b/src/xdemos/glxinfo.c index a116e4a..a77e808 100644 --- a/src/xdemos/glxinfo.c +++ b/src/xdemos/glxinfo.c @@ -659,6 +659,28 @@ print_limits(const char *extensions, const char

[Mesa-dev] [PATCH 1/5] mesa: use malloc/free instead of MALLOC/FREE in attrib stack code

2014-04-09 Thread Brian Paul
We moved away from MALLOC/FREE in the rest of core Mesa a while ago. --- src/mesa/main/attrib.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/mesa/main/attrib.c b/src/mesa/main/attrib.c index 5a626f2..c656845 100644 --- a/src/mesa/main/attrib.c ++

[Mesa-dev] [PATCH 5/5] mesa: remove the MALLOC, CALLOC and FREE macros

2014-04-09 Thread Brian Paul
No longer used anywhere. These also caused trouble in the Gallium state tracker code where we include both core Mesa and Gallium util headers (and the macros were defined differently in each world.) Removing these macros should help avoid macro mix-ups in the future. --- src/mesa/main/imports.h |

[Mesa-dev] [PATCH 4/5] xlib: s/FREE/free/

2014-04-09 Thread Brian Paul
--- src/mesa/drivers/x11/xm_api.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/x11/xm_api.c b/src/mesa/drivers/x11/xm_api.c index 4779595..d860569 100644 --- a/src/mesa/drivers/x11/xm_api.c +++ b/src/mesa/drivers/x11/xm_api.c @@ -855,7 +855,7 @@ XMesaVisu

[Mesa-dev] [PATCH 2/5] mesa: s/FREE/free/ in _mesa_free_errors_data()

2014-04-09 Thread Brian Paul
--- src/mesa/main/errors.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/main/errors.c b/src/mesa/main/errors.c index 9151718..d80fda0 100644 --- a/src/mesa/main/errors.c +++ b/src/mesa/main/errors.c @@ -980,7 +980,7 @@ _mesa_free_errors_data(struct gl_context *ct

[Mesa-dev] [PATCH 3/5] mesa: s/FREE/free/ in vdpau code

2014-04-09 Thread Brian Paul
--- src/mesa/main/vdpau.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mesa/main/vdpau.c b/src/mesa/main/vdpau.c index c2cf206..d974593 100644 --- a/src/mesa/main/vdpau.c +++ b/src/mesa/main/vdpau.c @@ -88,7 +88,7 @@ unregister_surface(struct set_entry *entry)

[Mesa-dev] [PATCH] st/mesa: fix sampler_view REALLOC/FREE macro mix-up

2014-04-09 Thread Brian Paul
We were using REALLOC() from u_memory.h but FREE() from imports.h. This mismatch caused us to trash the heap on Windows after we deleted a texture object. This fixes a regression from commit 6c59be7776e4d. --- src/mesa/state_tracker/st_cb_texture.c |2 +- src/mesa/state_tracker/st_texture.c

[Mesa-dev] state tracker texture sizing fun

2014-04-09 Thread Dave Airlie
So I was looking at adding ARB_texture_query_levels support to gallium, and hit a bit of a saga in the state tracker texture finalising code. commits involved in this are below, So to fix the query levels test I essentially wanted to revert 529b7b355d392b1534ccd8ff7b428dc21cbfdc21 so that the hw

[Mesa-dev] [PATCH] fixup! i965: Add writes_accumulator flag

2014-04-09 Thread Matt Turner
--- Eric, how about this squashed in? On Gen < 6 any accumulator use, with the exception of the "implied update" that nearly every instruction does causes a barrier dep. Implicit writes, noted by ::writes_accumulator, causes a barrier dep. On Gen >= 6, we just track the accumulator dependencies w

Re: [Mesa-dev] [PATCH 00/18] Implement GL_ARB_multi_bind

2014-04-09 Thread Fredrik Höglund
On Tuesday 08 April 2014, Kenneth Graunke wrote: > On 01/21/2014 03:35 PM, Fredrik Höglund wrote: > > So here is my take on GL_ARB_multi_bind. > > > > I tried to come up with names for the new hash table functions that > > don't suggest that they should be used to do unlocked insertions/lookups. >

[Mesa-dev] [PATCH 1/2] i965/gs: Add dummy source to prepare_channel_masks instruction.

2014-04-09 Thread Matt Turner
The generator uses its destination as a source implicitly, which breaks some assumptions in dead code elimination. Giving the instruction a source allows us to reason about it better. Reviewed-by: Eric Anholt --- I can't use the source in the generator because a shl(1) instruction is emitted from

[Mesa-dev] [PATCH] i965/fs: Reset reg_from when we can't coalesce.

2014-04-09 Thread Matt Turner
Not setting this would prevented coalescing after a failed attempt if the sources for both MOVs were the same. total instructions in shared programs: 1654531 -> 1650224 (-0.26%) instructions in affected programs: 423167 -> 418860 (-1.02%) GAINED:2 LOST:

Re: [Mesa-dev] [PATCH 2/3] i965: Add is_accumulator() function.

2014-04-09 Thread Matt Turner
On Wed, Apr 9, 2014 at 3:13 PM, Kenneth Graunke wrote: > On 04/09/2014 01:47 PM, Matt Turner wrote: >> From: Juha-Pekka Heikkila >> >> Reviewed-by: Matt Turner >> Signed-off-by: Juha-Pekka Heikkila >> --- >> As a follow-on patch series, we should move common fields from fs_reg >> and vec4's reg

Re: [Mesa-dev] [PATCH 3/3] i965: Add writes_accumulator flag

2014-04-09 Thread Kenneth Graunke
On 04/09/2014 01:47 PM, Matt Turner wrote: > From: Juha-Pekka Heikkila > > Our hardware has an "accumulator" register, which can be used to store > intermediate results across multiple instructions. Many instructions > can implicitly write a value to the accumulator in addition to their > normal

Re: [Mesa-dev] [PATCH 1/3] i965: Add reads_accumulator_implicitly() function.

2014-04-09 Thread Matt Turner
On Wed, Apr 9, 2014 at 3:06 PM, Eric Anholt wrote: > Matt Turner writes: > >> --- >> src/mesa/drivers/dri/i965/brw_shader.cpp | 16 >> src/mesa/drivers/dri/i965/brw_shader.h | 1 + >> 2 files changed, 17 insertions(+) >> >> diff --git a/src/mesa/drivers/dri/i965/brw_shader.cp

Re: [Mesa-dev] [PATCH 2/3] i965: Add is_accumulator() function.

2014-04-09 Thread Kenneth Graunke
On 04/09/2014 01:47 PM, Matt Turner wrote: > From: Juha-Pekka Heikkila > > Reviewed-by: Matt Turner > Signed-off-by: Juha-Pekka Heikkila > --- > As a follow-on patch series, we should move common fields from fs_reg > and vec4's reg into a backend_reg and consolidate these functions. Yeah, ther

Re: [Mesa-dev] [PATCH 1/3] i965: Add reads_accumulator_implicitly() function.

2014-04-09 Thread Eric Anholt
Matt Turner writes: > --- > src/mesa/drivers/dri/i965/brw_shader.cpp | 16 > src/mesa/drivers/dri/i965/brw_shader.h | 1 + > 2 files changed, 17 insertions(+) > > diff --git a/src/mesa/drivers/dri/i965/brw_shader.cpp > b/src/mesa/drivers/dri/i965/brw_shader.cpp > index f1944

[Mesa-dev] [PATCH] i965: Don't make instructions with a null dest a barrier to scheduling.

2014-04-09 Thread Matt Turner
Now that we properly track accumulator dependencies, the scheduler is able to schedule instructions between the mach and mov in the common the integer multiplication pattern: mul acc0, x, y mach null, x, y mov dest, acc0 Since a null destination implies no dependency on the destination

Re: [Mesa-dev] [PATCH v2 4/5] st/xa: handle solid-fill src/mask

2014-04-09 Thread Rob Clark
On Wed, Apr 9, 2014 at 5:12 PM, Rob Clark wrote: > On Wed, Apr 9, 2014 at 1:59 PM, Thomas Hellstrom > wrote: >> Hi, Rob! >> >> On 04/08/2014 10:48 PM, Rob Clark wrote: >>> From: Rob Clark >>> >>> Add support to property handle solid-fill src and/or mask. Without this >>> we fallback to sw a lo

Re: [Mesa-dev] [PATCH v2 4/5] st/xa: handle solid-fill src/mask

2014-04-09 Thread Rob Clark
On Wed, Apr 9, 2014 at 1:59 PM, Thomas Hellstrom wrote: > Hi, Rob! > > On 04/08/2014 10:48 PM, Rob Clark wrote: >> From: Rob Clark >> >> Add support to property handle solid-fill src and/or mask. Without this >> we fallback to sw a lot for common things like text rendering. >> >> Signed-off-by:

Re: [Mesa-dev] [PATCH 1/5] i965: Add writes_accumulator flag

2014-04-09 Thread Matt Turner
On Fri, Apr 4, 2014 at 6:51 AM, Juha-Pekka Heikkila wrote: > diff --git a/src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp > b/src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp > index a951459..92f82fd 100644 > --- a/src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp > +++ b/src

[Mesa-dev] [PATCH 3/3] i965: Add writes_accumulator flag

2014-04-09 Thread Matt Turner
From: Juha-Pekka Heikkila Our hardware has an "accumulator" register, which can be used to store intermediate results across multiple instructions. Many instructions can implicitly write a value to the accumulator in addition to their normal destination register. This is enabled by the "AccWrEn

[Mesa-dev] [PATCH 2/3] i965: Add is_accumulator() function.

2014-04-09 Thread Matt Turner
From: Juha-Pekka Heikkila Reviewed-by: Matt Turner Signed-off-by: Juha-Pekka Heikkila --- As a follow-on patch series, we should move common fields from fs_reg and vec4's reg into a backend_reg and consolidate these functions. src/mesa/drivers/dri/i965/brw_fs.cpp | 8 src/mesa/dri

[Mesa-dev] [PATCH 1/3] i965: Add reads_accumulator_implicitly() function.

2014-04-09 Thread Matt Turner
--- src/mesa/drivers/dri/i965/brw_shader.cpp | 16 src/mesa/drivers/dri/i965/brw_shader.h | 1 + 2 files changed, 17 insertions(+) diff --git a/src/mesa/drivers/dri/i965/brw_shader.cpp b/src/mesa/drivers/dri/i965/brw_shader.cpp index f194437..c8796b3 100644 --- a/src/mesa/dri

Re: [Mesa-dev] [PATCH v2 4/5] st/xa: handle solid-fill src/mask

2014-04-09 Thread Rob Clark
On Wed, Apr 9, 2014 at 1:59 PM, Thomas Hellstrom wrote: > Hi, Rob! > > On 04/08/2014 10:48 PM, Rob Clark wrote: >> From: Rob Clark >> >> Add support to property handle solid-fill src and/or mask. Without this >> we fallback to sw a lot for common things like text rendering. >> >> Signed-off-by:

Re: [Mesa-dev] [Mesa-stable] [PATCH 1/2] glx: drop obsolete _XUnlock_Mutex in __glXInitialize error path

2014-04-09 Thread Ian Romanick
On 03/16/2014 07:10 AM, Emil Velikov wrote: > With commit 1f1928db001(glx: Drop _Xglobal_lock while we create and > initialize glx display) we've split the big _Xglobal_lock handling in > a more fine grained manner. > > Unfortunatelly we forgot to drop the unlock_mutex on the error paths, > leadin

Re: [Mesa-dev] [PATCH 1/4] xa: handle solid-fill src/mask

2014-04-09 Thread Brian Paul
On 04/09/2014 11:50 AM, Thomas Hellstrom wrote: On 04/03/2014 04:07 PM, Brian Paul wrote: On 04/02/2014 11:17 PM, Thomas Hellstrom wrote: On 04/01/2014 05:04 PM, Rob Clark wrote: From: Rob Clark Add support to property handle solid-fill src and/or mask. Without this we fallback to sw a lot

Re: [Mesa-dev] [PATCH v2 4/5] st/xa: handle solid-fill src/mask

2014-04-09 Thread Thomas Hellstrom
Hi, Rob! On 04/08/2014 10:48 PM, Rob Clark wrote: > From: Rob Clark > > Add support to property handle solid-fill src and/or mask. Without this > we fallback to sw a lot for common things like text rendering. > > Signed-off-by: Rob Clark > --- > src/gallium/state_trackers/xa/xa_composite.c | 1

Re: [Mesa-dev] [PATCH] svga: move LIST_INITHEAD(dirty_buffers) earlier in svga_context_create()

2014-04-09 Thread Jakob Bornecrantz
On Wed, Apr 9, 2014 at 7:40 PM, Brian Paul wrote: > Fixes a crash in svga_context_flush_buffers() if we use the 'draw' module > for AA lines (when the device doesn't support that feature). We need to > initialize this list before we setup the swtnl pieces. > > Found/fixed by Charmaine Lee. > > Cc

Re: [Mesa-dev] [PATCH] svga: move LIST_INITHEAD(dirty_buffers) earlier in svga_context_create()

2014-04-09 Thread Thomas Hellstrom
Reviewed-by: Thomas Hellstrom On 04/09/2014 07:40 PM, Brian Paul wrote: > Fixes a crash in svga_context_flush_buffers() if we use the 'draw' module > for AA lines (when the device doesn't support that feature). We need to > initialize this list before we setup the swtnl pieces. > > Found/fixed b

Re: [Mesa-dev] [PATCH 1/4] xa: handle solid-fill src/mask

2014-04-09 Thread Thomas Hellstrom
On 04/03/2014 04:07 PM, Brian Paul wrote: > On 04/02/2014 11:17 PM, Thomas Hellstrom wrote: >> On 04/01/2014 05:04 PM, Rob Clark wrote: >>> From: Rob Clark >>> >>> Add support to property handle solid-fill src and/or mask. Without >>> this >>> we fallback to sw a lot for common things like text r

[Mesa-dev] [PATCH] svga: move LIST_INITHEAD(dirty_buffers) earlier in svga_context_create()

2014-04-09 Thread Brian Paul
Fixes a crash in svga_context_flush_buffers() if we use the 'draw' module for AA lines (when the device doesn't support that feature). We need to initialize this list before we setup the swtnl pieces. Found/fixed by Charmaine Lee. Cc: "10.0" --- src/gallium/drivers/svga/svga_context.c |4 +

Re: [Mesa-dev] [PATCH 1/7] linker: Split set_uniform_binding into separate functions for blocks and samplers

2014-04-09 Thread Kenneth Graunke
On 04/04/2014 02:01 PM, Ian Romanick wrote: > From: Ian Romanick > > The two code paths are quite different, and there are some problems in > the handling of uniform blocks. Future changes will cause these paths > to diverge further. Ultimately, selecting between the two functions > will happen

Re: [Mesa-dev] [PATCH v2 6/6] glsl: Ignore loop-too-large heuristic if there's bad variable indexing.

2014-04-09 Thread Kenneth Graunke
On 04/08/2014 09:20 PM, Kenneth Graunke wrote: > Many shaders use a pattern such as: > > for (int i = 0; i < NUM_LIGHTS; i++) { >...access a uniform array, or shader input/output array... > } > > where NUM_LIGHTS is a small constant (such as 2, 4, or 8). > > The expectation is that the compi

Re: [Mesa-dev] [PATCH 5/7] linker: Set block bindings based on UniformBlocks rather than UniformStorage

2014-04-09 Thread Kenneth Graunke
On 04/04/2014 02:01 PM, Ian Romanick wrote: > From: Ian Romanick > > For blocks, gl_shader_program::UniformStorage isn't very useful. The > names stored there are the names of the elements of the block, so > finding blocks with an instance name is hard. There is also only one > entry in ::Unifo

Re: [Mesa-dev] [PATCH 3/7] linker: Fold set_uniform_binding into call site

2014-04-09 Thread Kenneth Graunke
On 04/04/2014 02:01 PM, Ian Romanick wrote: > From: Ian Romanick > > In the next patch, we'll see that using > gl_shader_program::UniformStorage is not correct for uniform blocks. > That means we can't use ::UniformStorage to select between the sampler > path and the block path. Instead we want

Re: [Mesa-dev] [PATCH 1/2] glx: drop obsolete _XUnlock_Mutex in __glXInitialize error path

2014-04-09 Thread Emil Velikov
On 16/03/14 14:10, Emil Velikov wrote: > With commit 1f1928db001(glx: Drop _Xglobal_lock while we create and > initialize glx display) we've split the big _Xglobal_lock handling in > a more fine grained manner. > > Unfortunatelly we forgot to drop the unlock_mutex on the error paths, > leading to

[Mesa-dev] [Bug 76377] DRI3 should only be enabled on Linux due to a udev dependency

2014-04-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=76377 Emil Velikov changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [Bug 76856] -Wl, --no-undefined gives undefined references to libc symbols on OpenBSD

2014-04-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=76856 Emil Velikov changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [Bug 77208] VdpPresentationQueueGetTime does not return a monotonic time

2014-04-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=77208 --- Comment #3 from Andy Furniss --- (In reply to comment #1) > Oh, it seems the pausing issue could be caused by interaction with power > management. This is what a user posted: > > >When polling '/sys/kernel/debug/dri/0/radeon_pm_info' you can

[Mesa-dev] [Bug 77240] New: khrplatform.h not installed if EGL is disabled

2014-04-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=77240 Priority: medium Bug ID: 77240 Assignee: mesa-dev@lists.freedesktop.org Summary: khrplatform.h not installed if EGL is disabled Severity: normal Classification: Unclassified

Re: [Mesa-dev] [PATCH] r600g: Don't leak bytecode on shader compile failure

2014-04-09 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Wed, Apr 9, 2014 at 8:39 AM, Michel Dänzer wrote: > From: Michel Dänzer > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=74868 > > Cc: mesa-sta...@lists.freedesktop.org > Signed-off-by: Michel Dänzer > --- > src/gallium/drivers/r600/r600_shader.c |

Re: [Mesa-dev] [PATCH 03/10] mesa: add new enum MAX_UNIFORM_LOCATIONS

2014-04-09 Thread Petri Latvala
On 04/09/2014 12:56 PM, Tapani Pälli wrote: diff --git a/src/mesa/main/get_hash_params.py b/src/mesa/main/get_hash_params.py index 06d0bba..5709d42 100644 --- a/src/mesa/main/get_hash_params.py +++ b/src/mesa/main/get_hash_params.py @@ -474,6 +474,7 @@ descriptor=[ [ "MAX_LIST_NESTING", "CONS

[Mesa-dev] [PATCH 08/10] glsl: parser changes for GL_ARB_explicit_uniform_location

2014-04-09 Thread Tapani Pälli
Patch adds a preprocessor define for the extension and stores explicit location data for uniforms during AST->HIR conversion. It also sets layout token to be available when having the extension in place. Signed-off-by: Tapani Pälli --- src/glsl/ast_to_hir.cpp | 37 +

[Mesa-dev] [PATCH 05/10] glsl/linker: assign explicit uniform locations

2014-04-09 Thread Tapani Pälli
Patch refactors the existing uniform processing so explicit locations are taken in to account during variable processing. These locations are temporarily stored in gl_uniform_storage before actual locations are set. The 'remap_location' variable in gl_uniform_storage is changed to be signed so tha

[Mesa-dev] [PATCH 10/10] docs: update ARB_explicit_uniform_location status

2014-04-09 Thread Tapani Pälli
Signed-off-by: Tapani Pälli --- docs/GL3.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/GL3.txt b/docs/GL3.txt index bf51e3a..245a045 100644 --- a/docs/GL3.txt +++ b/docs/GL3.txt @@ -148,7 +148,7 @@ GL 4.3: GL_ARB_compute_shaderstar

[Mesa-dev] [PATCH 06/10] mesa: support inactive uniforms in glUniform* functions

2014-04-09 Thread Tapani Pälli
Support inactive uniforms that have explicit location set in glUniform* functions. Signed-off-by: Tapani Pälli --- src/mesa/main/uniform_query.cpp | 15 +++ 1 file changed, 15 insertions(+) diff --git a/src/mesa/main/uniform_query.cpp b/src/mesa/main/uniform_query.cpp index 5f1af08.

[Mesa-dev] [PATCH 07/10] glsl: add enable bit for ARB_explicit_uniform_location

2014-04-09 Thread Tapani Pälli
Signed-off-by: Tapani Pälli --- src/glsl/glsl_parser_extras.cpp | 1 + src/glsl/glsl_parser_extras.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/glsl/glsl_parser_extras.cpp b/src/glsl/glsl_parser_extras.cpp index a42f3d2..d6415ab 100644 --- a/src/glsl/glsl_parser_extras.cpp +++ b

[Mesa-dev] [PATCH 09/10] Enable GL_ARB_explicit_uniform_location in the drivers.

2014-04-09 Thread Tapani Pälli
Signed-off-by: Tapani Pälli --- src/mesa/drivers/dri/i965/intel_extensions.c | 1 + src/mesa/state_tracker/st_extensions.c | 1 + 2 files changed, 2 insertions(+) diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c index 15fcd30..f8abf9

[Mesa-dev] [PATCH 04/10] glsl/linker: initialize explicit uniform locations

2014-04-09 Thread Tapani Pälli
Patch initializes the UniformRemapTable for explicit locations. This needs to happen before optimizations to make sure all inactive uniforms get their explicit locations correctly. Signed-off-by: Tapani Pälli --- src/glsl/linker.cpp | 99 + 1 f

[Mesa-dev] [PATCH 00/10] GL_ARB_explicit_uniform_location v2

2014-04-09 Thread Tapani Pälli
Hi; Patches implement the extension, no Piglit regressions and all the tests for the extension pass. Location initialization and assignment is done like Ian suggested, this removed quite a bit of code since now there is no need to store inactive uniforms temporarily. Here's a branch with the patc

[Mesa-dev] [PATCH 03/10] mesa: add new enum MAX_UNIFORM_LOCATIONS

2014-04-09 Thread Tapani Pälli
Patch adds new implementation dependent value required by the GL_ARB_explicit_uniform_location extension. Default value for user assignable locations is calculated as sum of MaxUniformComponents for each stage. Signed-off-by: Tapani Pälli --- src/mesa/main/context.c | 10 +-

[Mesa-dev] [PATCH 02/10] mesa: add enable bit for ARB_explicit_uniform_location

2014-04-09 Thread Tapani Pälli
Signed-off-by: Tapani Pälli --- src/mesa/main/extensions.c | 1 + src/mesa/main/mtypes.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c index a72284c..8605189 100644 --- a/src/mesa/main/extensions.c +++ b/src/mesa/main/extensions.

[Mesa-dev] [PATCH 01/10] glapi: add GL_ARB_explicit_uniform_location

2014-04-09 Thread Tapani Pälli
Signed-off-by: Tapani Pälli --- src/mapi/glapi/gen/gl_API.xml | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml index 9200cd6..d269d7d 100644 --- a/src/mapi/glapi/gen/gl_API.xml +++ b/src/mapi/glapi/gen/gl_API.xml @@ -8312,6 +8

[Mesa-dev] [PATCH 7/7] st/omx/enc: enable B-frames

2014-04-09 Thread Christian König
From: Christian König Signed-off-by: Christian König --- src/gallium/state_trackers/omx/vid_enc.c | 10 +++--- src/gallium/state_trackers/omx/vid_enc.h | 1 + 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/gallium/state_trackers/omx/vid_enc.c b/src/gallium/state_tracke

[Mesa-dev] [PATCH 6/7] st/omx/enc: implement frame reordering and B-frames

2014-04-09 Thread Christian König
From: Christian König Signed-off-by: Christian König --- src/gallium/state_trackers/omx/vid_enc.c | 91 +--- src/gallium/state_trackers/omx/vid_enc.h | 5 +- 2 files changed, 76 insertions(+), 20 deletions(-) diff --git a/src/gallium/state_trackers/omx/vid_enc.c b

[Mesa-dev] [PATCH 1/7] radeon/vce: remove RVCE_NUM_CPB_EXTRA_FRAMES

2014-04-09 Thread Christian König
From: Christian König Doesn't seems to be needed any more. Signed-off-by: Christian König --- src/gallium/drivers/radeon/radeon_vce.c| 2 +- src/gallium/drivers/radeon/radeon_vce.h| 1 - src/gallium/drivers/radeon/radeon_vce_40_2_2.c | 3 +-- 3 files changed, 2 insertions(+), 4

[Mesa-dev] [PATCH 2/7] vl: add interface for H264 B-frame encoding

2014-04-09 Thread Christian König
From: Christian König Signed-off-by: Christian König --- src/gallium/drivers/radeon/radeon_vce_40_2_2.c | 11 ++- src/gallium/include/pipe/p_video_state.h | 3 +++ src/gallium/state_trackers/omx/vid_enc.c | 8 +++- 3 files changed, 16 insertions(+), 6 deletions(-) dif

[Mesa-dev] [PATCH 3/7] radeon/vce: add proper CPB backtrack

2014-04-09 Thread Christian König
From: Christian König Remember what frames we encoded at which position. Signed-off-by: Christian König --- src/gallium/drivers/radeon/radeon_vce.c| 87 -- src/gallium/drivers/radeon/radeon_vce.h| 15 + src/gallium/drivers/radeon/radeon_vce_40_2_2.c

[Mesa-dev] [PATCH 4/7] radeon/vce: implement B-frame support

2014-04-09 Thread Christian König
From: Christian König Signed-off-by: Slava Grigorev Signed-off-by: Christian König --- src/gallium/drivers/radeon/radeon_vce.h| 2 +- src/gallium/drivers/radeon/radeon_vce_40_2_2.c | 73 ++ 2 files changed, 53 insertions(+), 22 deletions(-) diff --git a/src/ga

[Mesa-dev] [PATCH 5/7] st/omx/enc: separate input buffer private and task structure

2014-04-09 Thread Christian König
From: Christian König Keep tasks as linked list, this way we can associate more than one encoding task with each buffer. Signed-off-by: Christian König --- src/gallium/state_trackers/omx/vid_enc.c | 182 +-- src/gallium/state_trackers/omx/vid_enc.h | 4 + 2 files

Re: [Mesa-dev] [PATCH 7/7] winsys/radeon: fix a race condition in initialization of radeon_winsys::screen

2014-04-09 Thread Christian König
Am 09.04.2014 05:44, schrieb Michel Dänzer: On Mit, 2014-04-09 at 02:15 +0200, Marek Olšák wrote: From: Marek Olšák Create the screen in the winsys while the mutex is locked. This also results in a nice code cleanup! [...] diff --git a/src/gallium/targets/egl-static/egl_pipe.c b/src/gallium

Re: [Mesa-dev] [PATCH] docs: Expand ARB_gpu_shader5 to describe status of individual features

2014-04-09 Thread Chris Forbes
On Wed, Apr 9, 2014 at 7:23 AM, Ian Romanick wrote: > I believe UBO array indices are also dynamically uniform. I was surprised to find this when building the list too, but I believe it's unrestricted. The GLSL 4.0 spec, 4.3.7 p43 (bottom of) says: "Any integral expression can be used to i

[Mesa-dev] [Bug 77208] VdpPresentationQueueGetTime does not return a monotonic time

2014-04-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=77208 Christian König changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: [Mesa-dev] [PATCH 0/5] util: Rework endian handling in python code

2014-04-09 Thread Michel Dänzer
José, any chance you could work Richard to get this in? On Mon, 2014-04-07 at 11:35 +0100, Richard Sandiford wrote: > Ping. > > Richard Sandiford writes: > > Ping (with fixed subject) > > > > Richard Sandiford writes: > >> This is a refresh of: > >> > >>http://lists.freedesktop.org/archiv