[Mesa-dev] [PATCH] mesa: fix texstore for MESA_FORMAT_R8G8B8A8_SRGB

2014-03-28 Thread Chris Forbes
The case for this was in the wrong function, and this format's store func was not set in the table at all. Signed-off-by: Chris Forbes --- src/mesa/main/texstore.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/mesa/main/texstore.c b/src/mesa/main/texstore.c i

Re: [Mesa-dev] [PATCH] i965/vec4: Don't trim writemasks of texture instructions.

2014-03-28 Thread Kenneth Graunke
On 03/28/2014 04:58 PM, Matt Turner wrote: > It was my understanding that the writemask works in SIMD4x2 mode for > texturing instructions and doesn't require a message header. Some bit of > this logic must be wrong, so disable it until it's understood. > > Bugzilla: https://bugs.freedesktop.org/s

Re: [Mesa-dev] RFC: ARB_sample_shading in gallium

2014-03-28 Thread Roland Scheidegger
Am 29.03.2014 00:57, schrieb Ilia Mirkin: > On Fri, Mar 28, 2014 at 7:43 PM, Roland Scheidegger > wrote: >> Am 28.03.2014 23:57, schrieb Ilia Mirkin: >>> On Fri, Mar 28, 2014 at 6:41 PM, Roland Scheidegger >>> wrote: Am 28.03.2014 22:56, schrieb Ilia Mirkin: > On Fri, Mar 28, 2014 at 5

[Mesa-dev] [PATCH] i965/vec4: Don't trim writemasks of texture instructions.

2014-03-28 Thread Matt Turner
It was my understanding that the writemask works in SIMD4x2 mode for texturing instructions and doesn't require a message header. Some bit of this logic must be wrong, so disable it until it's understood. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=76617 --- v2: Base on master, rather t

Re: [Mesa-dev] RFC: ARB_sample_shading in gallium

2014-03-28 Thread Ilia Mirkin
On Fri, Mar 28, 2014 at 7:43 PM, Roland Scheidegger wrote: > Am 28.03.2014 23:57, schrieb Ilia Mirkin: >> On Fri, Mar 28, 2014 at 6:41 PM, Roland Scheidegger >> wrote: >>> Am 28.03.2014 22:56, schrieb Ilia Mirkin: On Fri, Mar 28, 2014 at 5:47 PM, Roland Scheidegger wrote: > Am 28

[Mesa-dev] [PATCH] i965/vec4: Don't trim writemasks of texture instructions.

2014-03-28 Thread Matt Turner
It was my understanding that the writemask works in SIMD4x2 mode for texturing instructions and doesn't require a message header. Some bit of this logic must be wrong, so disable it until it's understood. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=76617 --- src/mesa/drivers/dri/i965/b

Re: [Mesa-dev] RFC: ARB_sample_shading in gallium

2014-03-28 Thread Roland Scheidegger
Am 28.03.2014 23:57, schrieb Ilia Mirkin: > On Fri, Mar 28, 2014 at 6:41 PM, Roland Scheidegger > wrote: >> Am 28.03.2014 22:56, schrieb Ilia Mirkin: >>> On Fri, Mar 28, 2014 at 5:47 PM, Roland Scheidegger >>> wrote: Am 28.03.2014 22:18, schrieb Ilia Mirkin: > Hey guys, > > I w

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

2014-03-28 Thread Chris Forbes
_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 of the order we find them in our walk of the mesa formats list. Signed-off-by: Chris Forbes --- src/mesa/sta

[Mesa-dev] [PATCH 2/2] mesa: Fix format matching checks for GL_INTENSITY* internalformats.

2014-03-28 Thread Chris Forbes
GL_INTENSITY has never been valid as a pixel format -- to get the memcpy pack/unpack paths, the app needs to specify GL_RED as the pixel format (or GL_RED_INTEGER for the integer formats). Note: This was briefly merged before, but exposed some breakage in gallium, so was reverted. Hopefully it wil

Re: [Mesa-dev] RFC: ARB_sample_shading in gallium

2014-03-28 Thread Ilia Mirkin
On Fri, Mar 28, 2014 at 6:41 PM, Roland Scheidegger wrote: > Am 28.03.2014 22:56, schrieb Ilia Mirkin: >> On Fri, Mar 28, 2014 at 5:47 PM, Roland Scheidegger >> wrote: >>> Am 28.03.2014 22:18, schrieb Ilia Mirkin: Hey guys, I was thinking of taking a shot at implementing ARB_sampl

Re: [Mesa-dev] [PATCH 2/2] glsl: remove UBO fields from _mesa_glsl_parse_state

2014-03-28 Thread Matt Turner
Reviewed-by: Matt Turner ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] RFC: ARB_sample_shading in gallium

2014-03-28 Thread Roland Scheidegger
Am 28.03.2014 22:56, schrieb Ilia Mirkin: > On Fri, Mar 28, 2014 at 5:47 PM, Roland Scheidegger > wrote: >> Am 28.03.2014 22:18, schrieb Ilia Mirkin: >>> Hey guys, >>> >>> I was thinking of taking a shot at implementing ARB_sample_shading for >>> nv50 (well, nva3-nva8) this weekend. One of the is

[Mesa-dev] [PATCH 2/2] i965/fs: Name temporary ralloc contexts something other than mem_ctx.

2014-03-28 Thread Matt Turner
Or else poor programmers might mistakenly use the temporary mem_ctx, instead of the fs_visitor's mem_ctx and wonder why their code is crashing. Also remove the parenting. These contexts are local to the optimization passes they're in and are freed at the end. --- src/mesa/drivers/dri/i965/brw_fs_

[Mesa-dev] [PATCH 1/2] i965/fs: Recalculate live intervals in calculate_register_pressure().

2014-03-28 Thread Matt Turner
Otherwise calling dump_instructions() after declaring a new fs_reg would segfault when calculate_register_pressure()'s loop over reg walked off the end of the virtual_grf_start[] array that calculate_live_intervals() would have reallocated for you, if it had known there was a new register. --- src

Re: [Mesa-dev] RFC: ARB_sample_shading in gallium

2014-03-28 Thread Ilia Mirkin
On Fri, Mar 28, 2014 at 5:47 PM, Roland Scheidegger wrote: > Am 28.03.2014 22:18, schrieb Ilia Mirkin: >> Hey guys, >> >> I was thinking of taking a shot at implementing ARB_sample_shading for >> nv50 (well, nva3-nva8) this weekend. One of the issues is that it's >> not implemented in gallium at a

Re: [Mesa-dev] [PATCH 0/6] Some glapi clean-up releated to GLES

2014-03-28 Thread Matt Turner
On Wed, Mar 26, 2014 at 5:12 PM, Ian Romanick wrote: > Tomorrow or Friday I'm going to send out the last of the > GL_ARB_separate_shader_objects patches. Shortly after that, I will send > out patches to enable GL_EXT_separate_shader_objects on GLES. This EXT > is the GLES subset of the ARB exten

Re: [Mesa-dev] [PATCH 00/24] LDFLAG additions and misc automake cleanups

2014-03-28 Thread Matt Turner
On Thu, Mar 27, 2014 at 2:00 PM, Emil Velikov wrote: > Hello list, > > Yet another small series from me, targeting the following > > - Revert "allow only shared builds". Static osmesa/libgl-xlib is > still a used, so rever the commit for now. > > - Add -no-undefined, -Wl,--no-undefined and -Wl,-

Re: [Mesa-dev] [PATCH 22/24] gallium/targets: add missing library dependencies

2014-03-28 Thread Matt Turner
On Thu, Mar 27, 2014 at 2:00 PM, Emil Velikov wrote: > Signed-off-by: Emil Velikov > --- > src/gallium/targets/gbm/Makefile.am | 5 - > src/gallium/targets/xa/Makefile.am | 7 ++- > 2 files changed, 10 insertions(+), 2 deletions(-) > > diff --git a/src/gallium/targets/gbm/Makefile.am >

Re: [Mesa-dev] [PATCH 21/24] pipe-loader: use PTHREAD_LIBS over -lpthread

2014-03-28 Thread Matt Turner
On Thu, Mar 27, 2014 at 2:00 PM, Emil Velikov wrote: > Signed-off-by: Emil Velikov > --- > src/gallium/targets/pipe-loader/Makefile.am | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/src/gallium/targets/pipe-loader/Makefile.am > b/src/gallium/targets/pipe-loader/M

Re: [Mesa-dev] RFC: ARB_sample_shading in gallium

2014-03-28 Thread Roland Scheidegger
Am 28.03.2014 22:18, schrieb Ilia Mirkin: > Hey guys, > > I was thinking of taking a shot at implementing ARB_sample_shading for > nv50 (well, nva3-nva8) this weekend. One of the issues is that it's > not implemented in gallium at all right now, so I need to pipe it > through somehow. I believe th

Re: [Mesa-dev] [PATCH 18/24] targets/egl-static: move the common LDFLAGS into AM_LDFLAGS

2014-03-28 Thread Matt Turner
On Thu, Mar 27, 2014 at 2:00 PM, Emil Velikov wrote: > Signed-off-by: Emil Velikov > --- > src/gallium/targets/egl-static/Makefile.am | 19 +-- > 1 file changed, 13 insertions(+), 6 deletions(-) > > diff --git a/src/gallium/targets/egl-static/Makefile.am > b/src/gallium/targets/

Re: [Mesa-dev] [PATCH 16/24] gallium/targets: explicitly include a dummy.cpp and remove all the LINK mayhem

2014-03-28 Thread Matt Turner
On Thu, Mar 27, 2014 at 2:00 PM, Emil Velikov wrote: > We've been copying and pasting this hunk for a while now, only to prevent > build issues on very old and buggy build toolchains. At this point this > should no longer be needed, so we can cleanup all the mess and simplify > our makefiles. Tha

Re: [Mesa-dev] RFC: per-driver extension lists

2014-03-28 Thread Aaron Watry
On Fri, Mar 28, 2014 at 10:32 AM, Ilia Mirkin wrote: > On Fri, Mar 28, 2014 at 11:14 AM, Aaron Watry wrote: >>> >>> Do people have opinions on whether it'd be useful to also gather data >>> for older hardware? FWIW I threw my TNT2 in there, which is probably >>> among the oldest hw supported by m

Re: [Mesa-dev] [PATCH 12/24] targets/omx: introduce GALLIUM_OMX_LIB_DEPS

2014-03-28 Thread Matt Turner
On Thu, Mar 27, 2014 at 2:00 PM, Emil Velikov wrote: > Cc: Christian König > Signed-off-by: Emil Velikov > --- > src/gallium/Automake.inc | 6 ++ > src/gallium/targets/r600/omx/Makefile.am | 5 + > src/gallium/targets/radeonsi/omx/Makefile.am | 5 + > 3 files

Re: [Mesa-dev] [PATCH 11/24] targets/pipe-loader: move LLVM_LIBS handling inside PIPE_LIBS

2014-03-28 Thread Matt Turner
On Thu, Mar 27, 2014 at 2:00 PM, Emil Velikov wrote: > This lets us have only one if HAVE_MESA_LLVM block, rather than > one for each driver. > > Signed-off-by: Emil Velikov > --- > src/gallium/targets/pipe-loader/Makefile.am | 34 > ++--- > 1 file changed, 11 insertions

Re: [Mesa-dev] [PATCH 07/24] targets/xa: drop libudev references from automake build

2014-03-28 Thread Matt Turner
On Thu, Mar 27, 2014 at 2:00 PM, Emil Velikov wrote: > Mesa does _not_ against libudev. I think you a word. :) ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH 01/24] Partially revert "automake: allow only shared builds"

2014-03-28 Thread Matt Turner
On Thu, Mar 27, 2014 at 2:00 PM, Emil Velikov wrote: > Evidently at least static OSMesa is still used as shared one > causes substantial increase in the load time for some programs > that use it (from seconds up-to ~30min). > > Rather than forcing everyone to use shared mesa, revert commit > a6efb

[Mesa-dev] RFC: ARB_sample_shading in gallium

2014-03-28 Thread Ilia Mirkin
Hey guys, I was thinking of taking a shot at implementing ARB_sample_shading for nv50 (well, nva3-nva8) this weekend. One of the issues is that it's not implemented in gallium at all right now, so I need to pipe it through somehow. I believe that the only piece of data that needs to be piped throu

Re: [Mesa-dev] [PATCH 0/5] Using MAC to optimize LRP on i965 gen < 6

2014-03-28 Thread Matt Turner
On Fri, Mar 28, 2014 at 6:28 AM, Juha-Pekka Heikkila wrote: > v3: > I took out accumulator flag from backend_instruction::has_side_effects() > as Matt suggested and rebased my patches on top of master where had shown up > Matt's patches which were overlapping a bit on dead code elimination. > This

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

2014-03-28 Thread Matt Turner
On Fri, Mar 28, 2014 at 6:28 AM, Juha-Pekka Heikkila wrote: > + if (inst->writes_accumulator||inst->writes_flag()) Spaces around || > inst->dst = dst_reg(retype(brw_null_reg(), inst->dst.type)); > - break; > - default: > - if (inst->writes_flag()) { > -

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

2014-03-28 Thread Matt Turner
On Fri, Mar 28, 2014 at 6:28 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..492ee0d 100644 > --- a/src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp > +++ b/sr

Re: [Mesa-dev] [PATCH] i965: disable blorp's linear filtering on SNB

2014-03-28 Thread Anuj Phogat
On Thu, Mar 27, 2014 at 1:29 AM, Samuel Iglesias Gonsalvez wrote: > Commit 079bdba05f870807d3ed77fa3093cdb7727aa2fd enabled the use of BLORP > engine for single sample scaled blit with bilinear filter. > > However piglit fails when running fbo-blit-stretch test on SandyBridge. > This patch makes t

Re: [Mesa-dev] [PATCH v2 5/9] mesa: Handle QUERY_RESULT_NO_WAIT in GetQueryObject{ui64}v

2014-03-28 Thread Rafał Mielniczuk
On 28.03.2014 08:01, Kenneth Graunke wrote: On 03/27/2014 11:34 PM, Kenneth Graunke wrote: On 03/27/2014 01:59 PM, Rafal Mielniczuk wrote: Just return and do nothing if query result is not yet available Signed-off-by: Rafal Mielniczuk --- src/mesa/main/queryobj.c | 16 1 f

[Mesa-dev] [Bug 76753] New: [swrast] piglit arb_clear_buffer_object-formats regression

2014-03-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=76753 Priority: medium Bug ID: 76753 Keywords: regression CC: bri...@vmware.com, chr...@ijw.co.nz Assignee: mesa-dev@lists.freedesktop.org Summary: [swrast] piglit arb_clear_buffer_obj

[Mesa-dev] [PATCH 3/5] i965/vec4: Change vec4_visitor::emit_lrp to use MAC for gen<6

2014-03-28 Thread Juha-Pekka Heikkila
This allows us to emit ADD/MUL/MAC instead of MUL/ADD/MUL/ADD, saving one instruction and two temporary registers. Signed-off-by: Juha-Pekka Heikkila --- src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp | 22 ++ 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/src

Re: [Mesa-dev] [PATCH v2 0/9] Add ARB_query_buffer_object (swrast)

2014-03-28 Thread Rafał Mielniczuk
On 28.03.2014 07:51, Kenneth Graunke wrote: On 03/27/2014 01:59 PM, Rafal Mielniczuk wrote: Hello, This is the second version of the series implementing ARB_query_buffer_object in mesa. Main changes to the first version are: - Enable extension only for software driver - Fix possible segfau

[Mesa-dev] [Bug 76212] latest dota2 builds do crash with the radeon open source driver

2014-03-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=76212 Sylvain BERTRAND changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: [Mesa-dev] [PATCH 24/24] automake: ask the linker to do garbage collection

2014-03-28 Thread Lauri Kasanen
On Fri, 28 Mar 2014 10:08:53 + Emil Velikov wrote: > On 28/03/14 08:35, Lauri Kasanen wrote: > > Emil Velikov wrote: > > > >> By doing GC the linker removes all the symbols that are not referenced > >> and/or used by the final library. This results in a saving of ~100K > >> up-to ~600K per

Re: [Mesa-dev] RFC: per-driver extension lists

2014-03-28 Thread Roland Scheidegger
Am 28.03.2014 05:06, schrieb Kenneth Graunke: > > I've attached the info for everything on the i965 driver. In case you > ever want to regenerate things, I just ran: > > $ INTEL_DEVID_OVERRIDE=0x29a2 glxinfo -l -s &> gen4 > $ INTEL_DEVID_OVERRIDE=0x2a42 glxinfo -l -s &> gen4.5 > $ INTEL_DEVID_OV

Re: [Mesa-dev] [PATCH 1/4] glsl: Move Doxygen block closing ot the correct place

2014-03-28 Thread Kenneth Graunke
On 03/27/2014 02:33 PM, Ian Romanick wrote: > From: Ian Romanick > > This is the closing for the "\defgroup IR Intermediate representation > nodes" all the way at the top of the file. > > Signed-off-by: Ian Romanick > --- > src/glsl/ir.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions

Re: [Mesa-dev] [PATCH 24/24] automake: ask the linker to do garbagecollection

2014-03-28 Thread Lauri Kasanen
On Fri, 28 Mar 2014 09:57:15 +0100 Marc Dietrich wrote: > lto is broken on many compiler/ld combinations. Even if it is supported I > won't recomment to enable it. A config option to enable it would be nice > though. > > Lauri, on which compiler/binutils version did you got it going? GNU ld (

Re: [Mesa-dev] i965: Vector splitting of outputs

2014-03-28 Thread Kenneth Graunke
On 03/26/2014 02:23 PM, Eric Anholt wrote: > Here's a little series I wrote yesterday while tracking down why some > silly MOVs were generated in a microbenchmark. As usual with > optimization, the thing I was trying to work on (not present in this > series) ended up requiring a bunch of other wor

Re: [Mesa-dev] RFC: per-driver extension lists

2014-03-28 Thread Marek Olšák
It would be nicer not to use dots to indicate an extension is supported. I recommend using a high-contrast background color for of supported extensions and white or other neutral color for unsupported extensions, a lot like piglit has green for pass and gray for skip, but each vendor can have thei

Re: [Mesa-dev] RFC: per-driver extension lists

2014-03-28 Thread Aaron Watry
> > Do people have opinions on whether it'd be useful to also gather data > for older hardware? FWIW I threw my TNT2 in there, which is probably > among the oldest hw supported by mesa. > I'm not sure if it's worthwhile or not, but if you want/need it, I've got a Radeon x1950 at home that I can po

Re: [Mesa-dev] [PATCH 09/10] i965/fs: Track output regs on a split virtual GRF basis.

2014-03-28 Thread Kenneth Graunke
On 03/26/2014 02:23 PM, Eric Anholt wrote: > Basically, replace the output_components[] array with per-channel tracking > of the register storing that channel, or a BAD_FILE undefined reg. > > Right now var->data.location_frac is always 0, but I'm going to use that > in vector_splitting next. > --

Re: [Mesa-dev] RFC: per-driver extension lists

2014-03-28 Thread Ilia Mirkin
On Fri, Mar 28, 2014 at 10:15 AM, Roland Scheidegger wrote: > Am 28.03.2014 05:06, schrieb Kenneth Graunke: >> >> I've attached the info for everything on the i965 driver. In case you >> ever want to regenerate things, I just ran: >> >> $ INTEL_DEVID_OVERRIDE=0x29a2 glxinfo -l -s &> gen4 >> $ INT

[Mesa-dev] [PATCH 4/5] i965/fs: Add support for the MAC instruction.

2014-03-28 Thread Juha-Pekka Heikkila
This allows us to generate the MAC (multiply-accumulate) instruction, which can be used to implement some expressions in fewer instructions than doing a series of MUL and ADDs. Signed-off-by: Juha-Pekka Heikkila --- src/mesa/drivers/dri/i965/brw_fs.cpp | 1 + src/mesa/drivers/dri/i965/

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

2014-03-28 Thread 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" flag. This patch introduc

[Mesa-dev] [PATCH 5/5] i965/fs: Change fs_visitor::emit_lrp to use MAC for gen<6

2014-03-28 Thread Juha-Pekka Heikkila
This allows us to emit ADD/MUL/MAC instead of MUL/ADD/MUL/ADD, saving one instruction and two temporary registers. Signed-off-by: Juha-Pekka Heikkila --- src/mesa/drivers/dri/i965/brw_fs_visitor.cpp | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/mesa/drivers/

[Mesa-dev] [PATCH 2/5] i965/vec4: Add support for the MAC instruction.

2014-03-28 Thread Juha-Pekka Heikkila
This allows us to generate the MAC (multiply-accumulate) instruction, which can be used to implement some expressions in fewer instructions than doing a series of MUL and ADDs. Signed-off-by: Juha-Pekka Heikkila --- src/mesa/drivers/dri/i965/brw_eu.h | 1 + src/mesa/drivers/dri/i96

[Mesa-dev] [PATCH 0/5] Using MAC to optimize LRP on i965 gen < 6

2014-03-28 Thread Juha-Pekka Heikkila
v3: I took out accumulator flag from backend_instruction::has_side_effects() as Matt suggested and rebased my patches on top of master where had shown up Matt's patches which were overlapping a bit on dead code elimination. This set does not do anything for the MACH anomaly on vec4_visitor::visit

Re: [Mesa-dev] [PATCH] targets/omx: do not link against the trace driver

2014-03-28 Thread Christian König
Am 28.03.2014 13:26, schrieb Emil Velikov: Unused due to the missing GALLIUM_TRACE define. Requested-by: Christian König Signed-off-by: Emil Velikov Reviewed-by: Christian König --- Hi Christian Seems like none of the other video accel targets use the tracer. I'm assuming that the VDPAU

[Mesa-dev] [PATCH] targets/omx: do not link against the trace driver

2014-03-28 Thread Emil Velikov
Unused due to the missing GALLIUM_TRACE define. Requested-by: Christian König Signed-off-by: Emil Velikov --- Hi Christian Seems like none of the other video accel targets use the tracer. I'm assuming that the VDPAU issue(s) you've mentioned have been resolved. -Emil src/gallium/targets/r60

Re: [Mesa-dev] Mesa branchpoint tags?

2014-03-28 Thread Erik Faye-Lund
On Fri, Mar 28, 2014 at 8:25 AM, Eric Anholt wrote: > I was looking at a bug report about old software, and wanted to see what > development branch a quoted commit was on: > > anholt@eliezer:anholt/src/mesa-release% git describe > 97217a40f97cdeae0304798b607f704deb0c3558 > snb-magic-15797-g97217a

Re: [Mesa-dev] [PATCH 17/24] targets/omx: define GALLIUM_TRACE when using the trace driver

2014-03-28 Thread Emil Velikov
On 28/03/14 09:40, Christian König wrote: > Am 27.03.2014 22:00, schrieb Emil Velikov: >> Otherwise the omx drivers are explicitly linked but never wrapped in >> order to use it. > > On the other hand I'm not sure if we really need the tracer linked in here, > referencing it was just to make drm_t

Re: [Mesa-dev] [PATCH 24/24] automake: ask the linker to do garbage collection

2014-03-28 Thread Emil Velikov
On 28/03/14 08:35, Lauri Kasanen wrote: > On Thu, 27 Mar 2014 21:00:39 + > Emil Velikov wrote: > >> By doing GC the linker removes all the symbols that are not referenced >> and/or used by the final library. This results in a saving of ~100K >> up-to ~600K per (stripped) binary (classic vs ga

[Mesa-dev] [Bug 76252] Dynamic loading/unloading of opengl32.dll results in a deadlock

2014-03-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=76252 --- Comment #7 from cgerlac...@gmail.com --- José, thanks for the feedback. Our first try was to call the dll llvmpipe.dll and we ran exactly in the issues you mentioned regarding GDI. Therefore we don't see this as an option for us. A colleaq

Re: [Mesa-dev] [PATCH 24/24] automake: ask the linker to do garbagecollection

2014-03-28 Thread Marc Dietrich
Am Freitag, 28. März 2014, 10:35:00 schrieb Lauri Kasanen: > On Thu, 27 Mar 2014 21:00:39 + > > Emil Velikov wrote: > > By doing GC the linker removes all the symbols that are not referenced > > and/or used by the final library. This results in a saving of ~100K > > up-to ~600K per (stripped)

Re: [Mesa-dev] [PATCH 24/24] automake: ask the linker to do garbage collection

2014-03-28 Thread Lauri Kasanen
On Thu, 27 Mar 2014 21:00:39 + Emil Velikov wrote: > By doing GC the linker removes all the symbols that are not referenced > and/or used by the final library. This results in a saving of ~100K > up-to ~600K per (stripped) binary (classic vs gallium drivers). > > If interested one can ask th

Re: [Mesa-dev] Questions regarding KHR_debug for OpenGL ES

2014-03-28 Thread Timothy Arceri
On Fri, 2014-03-28 at 19:22 +1100, Timothy Arceri wrote: > On Wed, 2014-03-26 at 16:27 -0700, Felipe Tonello wrote: > > Hi Timothy, > > > > On Sun, Mar 23, 2014 at 2:11 PM, Timothy Arceri > > wrote: > > > On Mon, 2014-03-17 at 11:42 -0700, Felipe Tonello wrote: > > >> Hi all, > > >> > > >> I'm w

Re: [Mesa-dev] Questions regarding KHR_debug for OpenGL ES

2014-03-28 Thread Timothy Arceri
On Wed, 2014-03-26 at 16:27 -0700, Felipe Tonello wrote: > Hi Timothy, > > On Sun, Mar 23, 2014 at 2:11 PM, Timothy Arceri wrote: > > On Mon, 2014-03-17 at 11:42 -0700, Felipe Tonello wrote: > >> Hi all, > >> > >> I'm working on the KHR_debug for OpenGL ES junior job. I recently > >> submitted pa

Re: [Mesa-dev] [PATCH 07/10] i965/fs: Handle arrays of special regs more cleanly.

2014-03-28 Thread Eric Anholt
Kenneth Graunke writes: > On 03/26/2014 02:23 PM, Eric Anholt wrote: >> I need to extend the size of the outputs[] array, and this was going to >> get ridiculous. >> --- >> src/mesa/drivers/dri/i965/brw_fs.cpp | 36 >> ++-- >> 1 file changed, 22 insertions(+), 14

[Mesa-dev] Mesa branchpoint tags?

2014-03-28 Thread Eric Anholt
I was looking at a bug report about old software, and wanted to see what development branch a quoted commit was on: anholt@eliezer:anholt/src/mesa-release% git describe 97217a40f97cdeae0304798b607f704deb0c3558 snb-magic-15797-g97217a4 That's... not terribly useful. It would be nice i

[Mesa-dev] [PATCH] i965: Make sure we always compute valid index bounds before drawing.

2014-03-28 Thread Iago Toral Quiroga
When doing software rendering (i.e. rendering to the selection buffer) we need to make sure that we have valid index bounds before calling _tnl_draw_prims(), otherwise we can crash. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=59455 --- src/mesa/drivers/dri/i965/brw_draw.c | 3 ++- 1 fi

Re: [Mesa-dev] [PATCH v2 5/9] mesa: Handle QUERY_RESULT_NO_WAIT in GetQueryObject{ui64}v

2014-03-28 Thread Kenneth Graunke
On 03/27/2014 11:34 PM, Kenneth Graunke wrote: > On 03/27/2014 01:59 PM, Rafal Mielniczuk wrote: >> Just return and do nothing if query result is not yet available >> >> Signed-off-by: Rafal Mielniczuk >> --- >> src/mesa/main/queryobj.c | 16 >> 1 file changed, 16 insertions(+) >