Re: [Mesa-dev] [PATCH 1/5] mesa: add const qualifer on _mesa_is_compressed_format()

2015-05-25 Thread Pohjolainen, Topi
On Mon, May 25, 2015 at 08:57:36AM -0600, Brian Paul wrote: > --- > src/mesa/main/glformats.c | 2 +- > src/mesa/main/glformats.h | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) Very nice, series is: Reviewed-by: Topi Pohjolainen > > diff --git a/src/mesa/main/glformats.c b/src/mes

[Mesa-dev] [PATCH v2 4/4] nv30: falling back to draw path for edgeflag does no good

2015-05-25 Thread Ilia Mirkin
The problem is that the EDGEFLAG has to be toggled at vertex submission time. This can be done from either the draw or the regular paths. Avoid falling back to draw just because there's an edgeflag. Signed-off-by: Ilia Mirkin Cc: "10.5 10.6" --- src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c

[Mesa-dev] [PATCH v2 2/4] nv30/draw: allocate vertex buffers in gart

2015-05-25 Thread Ilia Mirkin
These are only used once per draw, so it makes sense to keep them in GART. Also take this opportunity to modernize the buffer mapping API usage. Signed-off-by: Ilia Mirkin Cc: "10.5 10.6" --- src/gallium/drivers/nouveau/nv30/nv30_draw.c | 16 ++-- 1 file changed, 10 insertions(+), 6

[Mesa-dev] [PATCH v2 3/4] nv30/draw: switch varying hookup logic to know about texcoords

2015-05-25 Thread Ilia Mirkin
Commit 8acaf862dfe switched things over to use TEXCOORD instead of GENERIC, but did not update the nv30 swtnl draw paths. This teaches the draw logic about TEXCOORD. Among other things, this fixes a crash in demos/arbocclude when using swtnl. Curiously enough, the point-sprite piglit works without

[Mesa-dev] [PATCH v2 1/4] nv30/draw: only use the DMA1 object (GART) if the bo is not in VRAM

2015-05-25 Thread Ilia Mirkin
Instead of always having it in the data, let the bo placement decide it. This fixes glxgears with swtnl forced on. Signed-off-by: Ilia Mirkin Cc: "10.5 10.6" --- src/gallium/drivers/nouveau/nv30/nv30_draw.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gallium/dr

[Mesa-dev] [PATCH 4/3] radeon, elf: Concatenate all rodata sections.

2015-05-25 Thread Jan Vesely
This prevents leaks and makes sure all data are available. In case there is only one section it works as before. Signed-off-by: Jan Vesely --- This might break stuff if something relied on previous rodata locations. src/gallium/drivers/radeon/radeon_elf_util.c | 9 ++--- 1 file changed, 6

[Mesa-dev] [PATCH 3/3] r600,compute: Plug couple of memory leaks

2015-05-25 Thread Jan Vesely
Signed-off-by: Jan Vesely --- src/gallium/drivers/r600/evergreen_compute.c | 24 +--- src/gallium/drivers/r600/r600_llvm.c | 14 +- src/gallium/drivers/r600/r600_llvm.h | 2 ++ src/gallium/drivers/radeon/r600_pipe_common.h | 17 +

[Mesa-dev] [PATCH 1/3] r600: Typos and whitespace fixes

2015-05-25 Thread Jan Vesely
Signed-off-by: Jan Vesely --- src/gallium/drivers/r600/evergreen_compute.c | 6 +++--- src/gallium/drivers/r600/evergreen_state.c | 4 ++-- src/gallium/drivers/r600/r600_asm.h | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/gallium/drivers/r600/evergreen_co

[Mesa-dev] [PATCH 2/3] r600,compute: Upload rodata

2015-05-25 Thread Jan Vesely
reserve buffer id 2 for rodata Signed-off-by: Jan Vesely --- This needs coresponding LLVM changes (see [0], also posted) to work, but it does not break anything (except waste a buffer) without. Both series fix table based builtins (acosh, atanh, cosh, log1p), as well as gegl's format conversion

Re: [Mesa-dev] [PATCH 00/11] TGSI support for input and output array declarations

2015-05-25 Thread Marek Olšák
Hi Rob, I've sent a patch that adds the CAP. Marek On Mon, May 25, 2015 at 3:17 PM, Rob Clark wrote: > Ignoring the compiler for a moment, I think this would probably break > my varying linking (where I match up VS out and FS in).. (and I > wouldn't be surprised if somewhere between tgsi_to_ni

Re: [Mesa-dev] [PATCH:mesa] glsl_compiler: Remove unused extra argument to printf in usage_fail

2015-05-25 Thread Matt Turner
Reviewed-by: Matt Turner ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH:mesa] glsl_compiler: Remove unused extra argument to printf in usage_fail

2015-05-25 Thread Alan Coopersmith
Flagged by Oracle's parfait static analyzer: Error: Format string argument mismatch (CWE 628) In call to printf with format string "usage: %s [options] \n\nPossible options are:\n" Too many arguments for format string (got more than 1 arguments) at line 285 of src/glsl/main.cpp in

Re: [Mesa-dev] [PATCH] glsl: avoid leaking linked gl_shader when there's a late linker error

2015-05-25 Thread Tobias Klausmann
pong the unhappyness case will hopefully soon be extended with cull_distance + clipvertex, so good to see this fixed! Reviewed-by: Tobias Klausmann On 25.05.2015 21:42, Ilia Mirkin wrote: ping On Sun, May 17, 2015 at 5:56 PM, Ilia Mirkin wrote: Signed-off-by: Ilia Mirkin --- Just happe

Re: [Mesa-dev] [PATCH 00/11] TGSI support for input and output array declarations

2015-05-25 Thread Roland Scheidegger
Overall, this looks like a good idea to me. Probably needs some changes in our internal code but the idea is quite sane. Roland Am 24.05.2015 um 13:19 schrieb Marek Olšák: > Hi, > > The reason I add this is that TGSI doesn't allow indirect indexing of inputs > and outputs. Consider this: > > M

[Mesa-dev] [PATCH 3/3] docs: update the coding style information

2015-05-25 Thread Thomas Helland
2015-05-25 18:20 GMT+02:00 Brian Paul : > This hasn't been updated in a long time and from recent discussion on > the mailing list, it's not always clear what's expected. Hopefully, > this will help a bit. > --- > docs/devinfo.html | 155 > ++ >

Re: [Mesa-dev] [PATCH 1/2] gallivm: don't use control flow when doing indirect constant buffer lookups

2015-05-25 Thread Roland Scheidegger
I guess one day we might actually make use of specifying the size in bytes despite currently requiring that size to be a multiple of vec4 size. It should not really be difficult to allow 4-byte offsets / sizes since the constants are only fetched one element at a time anyway. Essentially just the v

Re: [Mesa-dev] [PATCH] glsl: avoid leaking linked gl_shader when there's a late linker error

2015-05-25 Thread Ilia Mirkin
ping On Sun, May 17, 2015 at 5:56 PM, Ilia Mirkin wrote: > Signed-off-by: Ilia Mirkin > --- > > Just happened to notice it... still not the leak I'm chasing :( The > only time this can happen is basically when it's unhappy about the > clip distance usage (i.e. clipvertex + clipdistance at the sa

[Mesa-dev] [Bug 90600] IOError: [Errno 2] No such file or directory: 'gl_API.xml'

2015-05-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=90600 --- Comment #11 from Dylan --- I tested with auto tools and python 2.6, so I'm so I'm rather suprised that isn't working. I'm out of town today, but I'm pretty sure I know how to fix it, I'll take care of it first thing in the morning, and send o

Re: [Mesa-dev] Omission? mesa-10.5.6

2015-05-25 Thread Roland Scheidegger
This case wasn't dealing with floats, though. That said I guess it's a pointless discussion. If the compiler doesn't think it's a good idea I'll just add the parentheses just to shut it up... Roland Am 25.05.2015 um 21:19 schrieb Axel Davy: > If one side is NaN, then > !(x == y) is true, whereas

[Mesa-dev] [PATCH 1/2] nv30/draw: rework some of the output vertex buffer logic

2015-05-25 Thread Ilia Mirkin
This makes the vertex buffer go to GART, not VRAM, and redoes the mapping to not use the UNSYNCHRONIZED access (which is meaningless on a VRAM buffer anyways). While we're at it, add some flushes for VBO data. Moving the vertex buffer from VRAM to GART makes glxgears work fully with NV30_SWTNL=1.

[Mesa-dev] [PATCH 2/2] nv30/draw: switch varying hookup logic to know about texcoords

2015-05-25 Thread Ilia Mirkin
Commit 8acaf862dfe switched things over to use TEXCOORD instead of GENERIC, but did not update the nv30 swtnl draw paths. This teaches the draw logic about TEXCOORD. Among other things, this fixes a crash in demos/arbocclude when using swtnl. Curiously enough, the point-sprite piglit works without

[Mesa-dev] [Bug 90600] IOError: [Errno 2] No such file or directory: 'gl_API.xml'

2015-05-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=90600 --- Comment #10 from Vinson Lee --- Reverting commit cf718cc964f86dc49c1fc9ed5e39aa5bd87ad931 triggers a similar build error in another file. Traceback (most recent call last): File "src/mapi/glapi/gen/remap_helper.py", line 199, in main(

Re: [Mesa-dev] Omission? mesa-10.5.6

2015-05-25 Thread Axel Davy
If one side is NaN, then !(x == y) is true, whereas x != y is false On 25/05/2015 21:01, Ilia Mirkin wrote : On Mon, May 25, 2015 at 2:53 PM, Matt Turner wrote: It's that the compiler thinks that (!x == y) is a typo for !(x == y). I have to say, I think the first does look strange. I dunno..

Re: [Mesa-dev] Omission? mesa-10.5.6

2015-05-25 Thread Matt Turner
On Mon, May 25, 2015 at 12:01 PM, Ilia Mirkin wrote: > On Mon, May 25, 2015 at 2:53 PM, Matt Turner wrote: >> On Mon, May 25, 2015 at 11:50 AM, Roland Scheidegger >> wrote: >>> I can't see what's wrong with the code. >>> I thought not using parantheses there is quite common, is that some new >>

Re: [Mesa-dev] [PATCH 02/11] tgsi/scan: get more information about arrays and handle arrays correctly

2015-05-25 Thread Roland Scheidegger
Am 24.05.2015 um 13:19 schrieb Marek Olšák: > From: Marek Olšák > > --- > src/gallium/auxiliary/tgsi/tgsi_scan.c | 11 +-- > src/gallium/auxiliary/tgsi/tgsi_scan.h | 2 ++ > 2 files changed, 11 insertions(+), 2 deletions(-) > > diff --git a/src/gallium/auxiliary/tgsi/tgsi_scan.c > b/s

Re: [Mesa-dev] [PATCH 01/11] gallium: define the maximum number of shader arrays

2015-05-25 Thread Marek Olšák
It makes it easier for the statically-sized arrays. Not that there is anything good about statically-sized arrays. The hard limit is 1022 arrays per file, because ArrayID has 10 bits. Marek On Mon, May 25, 2015 at 8:42 PM, Roland Scheidegger wrote: > Do we really need this? > I think ideally we

Re: [Mesa-dev] Omission? mesa-10.5.6

2015-05-25 Thread Ilia Mirkin
On Mon, May 25, 2015 at 2:53 PM, Matt Turner wrote: > On Mon, May 25, 2015 at 11:50 AM, Roland Scheidegger > wrote: >> I can't see what's wrong with the code. >> I thought not using parantheses there is quite common, is that some new >> warning from some super duper new compiler version? > > It'

Re: [Mesa-dev] Omission? mesa-10.5.6

2015-05-25 Thread Vinson Lee
On Mon, May 25, 2015 at 11:53 AM, Matt Turner wrote: > On Mon, May 25, 2015 at 11:50 AM, Roland Scheidegger > wrote: >> I can't see what's wrong with the code. >> I thought not using parantheses there is quite common, is that some new >> warning from some super duper new compiler version? > > It

Re: [Mesa-dev] [PATCH 09/11] gallium: add support for arb_cull_distance

2015-05-25 Thread Tobias Klausmann
On 25.05.2015 20:36, Roland Scheidegger wrote: This doesn't really do what the commit message claims - it just adds a cap bit, not actual support for arb_cull_distance (which was already there), so the log should be changed accordingly. Yep, you are completely right here, will change it to be

Re: [Mesa-dev] Omission? mesa-10.5.6

2015-05-25 Thread Matt Turner
On Mon, May 25, 2015 at 11:50 AM, Roland Scheidegger wrote: > I can't see what's wrong with the code. > I thought not using parantheses there is quite common, is that some new > warning from some super duper new compiler version? It's that the compiler thinks that (!x == y) is a typo for !(x == y

Re: [Mesa-dev] Omission? mesa-10.5.6

2015-05-25 Thread Roland Scheidegger
I can't see what's wrong with the code. I thought not using parantheses there is quite common, is that some new warning from some super duper new compiler version? Roland Am 25.05.2015 um 02:46 schrieb Roger Brown: > > > From mesa-10.5.6 compilation. > > Is this an oversight ? > > lp_qu

[Mesa-dev] [PATCH] tgsi/ureg: don't emit in/out arrays if drivers don't support ranged declarations

2015-05-25 Thread Marek Olšák
From: Marek Olšák Softpipe, llvmpipe, and radeonsi pass tests. Other drivers need testing. The piglit filter should be "variable-indexing". Freedreno and nv30 are definitely broken. Other drivers seem to be alright. --- src/gallium/auxiliary/gallivm/lp_bld_limits.h| 1 + src/gallium/auxil

Re: [Mesa-dev] [PATCH 01/11] gallium: define the maximum number of shader arrays

2015-05-25 Thread Roland Scheidegger
Do we really need this? I think ideally we wouldn't really need any limit on this, as it is already limited by the max number of the temps (though obviously that number is higher). d3d10 doesn't seem to have any such limit neither. If some driver can't do it, I think it's not unreasonable to expect

Re: [Mesa-dev] [PATCH 09/11] gallium: add support for arb_cull_distance

2015-05-25 Thread Roland Scheidegger
This doesn't really do what the commit message claims - it just adds a cap bit, not actual support for arb_cull_distance (which was already there), so the log should be changed accordingly. Apart from what was already mentioned (that is, the cap bit isn't used by st/mesa which instead mistakenly us

Re: [Mesa-dev] [PATCH 1/2] gallivm: don't use control flow when doing indirect constant buffer lookups

2015-05-25 Thread Ilia Mirkin
This is the code for setting the vs constbuf (in nv30_draw.c): void *map = nv04_resource(nv30->vertprog.constbuf)->data; debug_printf("map: %p, nr: %d\n", map, nv30->vertprog.constbuf_nr); draw_set_mapped_constant_buffer(draw, PIPE_SHADER_VERTEX, 0,

Re: [Mesa-dev] [PATCH 1/2] gallivm: don't use control flow when doing indirect constant buffer lookups

2015-05-25 Thread Roland Scheidegger
The only thing I can think of is an illegal setup of the constant buffer, because the index was not verified before for direct accesses, which made this work before even for "illegal" sizes. This is still not verified but buffers which get rounded down to size zero are now definitely no longer work

Re: [Mesa-dev] [PATCH 2/3] docs: update documentation about patch formatting, testing, etc

2015-05-25 Thread Brian Paul
On 05/25/2015 10:33 AM, Ilia Mirkin wrote: On Mon, May 25, 2015 at 12:20 PM, Brian Paul wrote: --- docs/devinfo.html | 104 -- 1 file changed, 102 insertions(+), 2 deletions(-) diff --git a/docs/devinfo.html b/docs/devinfo.html index c7e41

[Mesa-dev] [PATCH] i965/fs: Properly handle explicit depth in SIMD16 with dual-source blend

2015-05-25 Thread Jason Ekstrand
Cc: "10.6" Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90629 --- src/mesa/drivers/dri/i965/brw_fs_visitor.cpp | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp index ead7

Re: [Mesa-dev] Mesa (master): prog_to_nir: Use a variable for uniform data

2015-05-25 Thread Jason Ekstrand
On Mon, May 25, 2015 at 7:01 AM, Brian Paul wrote: > On 05/23/2015 01:48 PM, Jason Ekstrand wrote: >> >> Module: Mesa >> Branch: master >> Commit: 58aed1031d40e62c9f41f7c512b3165dd5913d1e >> URL: >> https://urldefense.proofpoint.com/v2/url?u=http-3A__cgit.freedesktop.org_mesa_mesa_commit_-3Fid-3D5

Re: [Mesa-dev] [PATCH 2/3] docs: update documentation about patch formatting, testing, etc

2015-05-25 Thread Ilia Mirkin
On Mon, May 25, 2015 at 12:20 PM, Brian Paul wrote: > --- > docs/devinfo.html | 104 > -- > 1 file changed, 102 insertions(+), 2 deletions(-) > > diff --git a/docs/devinfo.html b/docs/devinfo.html > index c7e4171..a6fb76b 100644 > --- a/docs/de

[Mesa-dev] [PATCH 3/3] docs: update the coding style information

2015-05-25 Thread Brian Paul
This hasn't been updated in a long time and from recent discussion on the mailing list, it's not always clear what's expected. Hopefully, this will help a bit. --- docs/devinfo.html | 155 ++ 1 file changed, 86 insertions(+), 69 deletions(-) di

[Mesa-dev] [PATCH 1/3] docs: reorganize devnotes.html file

2015-05-25 Thread Brian Paul
Move "Adding Extensions" to the end. Add a simple table of contents at the top. --- docs/devinfo.html | 110 ++ 1 file changed, 61 insertions(+), 49 deletions(-) diff --git a/docs/devinfo.html b/docs/devinfo.html index 8d20eea..c7e4171 100644 -

[Mesa-dev] [PATCH 2/3] docs: update documentation about patch formatting, testing, etc

2015-05-25 Thread Brian Paul
--- docs/devinfo.html | 104 -- 1 file changed, 102 insertions(+), 2 deletions(-) diff --git a/docs/devinfo.html b/docs/devinfo.html index c7e4171..a6fb76b 100644 --- a/docs/devinfo.html +++ b/docs/devinfo.html @@ -124,13 +124,113 @@ src/mesa/st

Re: [Mesa-dev] [PATCH] mesa: add OES_EGL_image_external_essl3 support

2015-05-25 Thread Ilia Mirkin
On Tue, Mar 24, 2015 at 1:41 AM, Tapani Pälli wrote: > > > On 03/23/2015 02:41 PM, Ilia Mirkin wrote: >> >> On Mon, Mar 23, 2015 at 8:06 AM, Tapani Pälli >> wrote: >>> >>> >>> >>> On 03/23/2015 01:43 PM, Ilia Mirkin wrote: On Mon, Mar 23, 2015 at 3:20 AM, Tapani Pälli wrote:

Re: [Mesa-dev] [PATCH] docs: Mark ARB_cull_distance as in progress

2015-05-25 Thread Samuel Pitoiset
Sure. On 05/25/2015 05:14 PM, Tobias Klausmann wrote: Can you push this with your newly won commit access? Makes up a nice trial ;-) Am 25.05.2015 um 16:49 schrieb Samuel Pitoiset: yeah, very important thing to do *before* starting to write a new extension. ;) Reviewed-by: Samuel Pitoiset

Re: [Mesa-dev] [PATCH] docs: Mark ARB_cull_distance as in progress

2015-05-25 Thread Tobias Klausmann
Can you push this with your newly won commit access? Makes up a nice trial ;-) Am 25.05.2015 um 16:49 schrieb Samuel Pitoiset: yeah, very important thing to do *before* starting to write a new extension. ;) Reviewed-by: Samuel Pitoiset On 05/25/2015 03:57 PM, Tobias Klausmann wrote: Signed

[Mesa-dev] [PATCH 3/5] mesa: code clean-ups in textureview.[ch]

2015-05-25 Thread Brian Paul
--- src/mesa/main/textureview.c | 83 - src/mesa/main/textureview.h | 5 +-- 2 files changed, 55 insertions(+), 33 deletions(-) diff --git a/src/mesa/main/textureview.c b/src/mesa/main/textureview.c index a1cbec5..6b0aed4 100644 --- a/src/mesa/main/tex

[Mesa-dev] [PATCH 5/5] mesa: add some comments in copyimage.c

2015-05-25 Thread Brian Paul
--- src/mesa/main/copyimage.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/src/mesa/main/copyimage.c b/src/mesa/main/copyimage.c index 789f9a6..e8732c6 100644 --- a/src/mesa/main/copyimage.c +++ b/src/mesa/main/copyimage.c @@ -40,6 +40,19 @@ enum mesa_block_class {

[Mesa-dev] [PATCH 2/5] mesa: const qualify, return bool for _mesa_texture_view_compatible_format()

2015-05-25 Thread Brian Paul
--- src/mesa/main/textureview.c | 12 ++-- src/mesa/main/textureview.h | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/mesa/main/textureview.c b/src/mesa/main/textureview.c index cd87a27..a1cbec5 100644 --- a/src/mesa/main/textureview.c +++ b/src/mesa/main/tex

[Mesa-dev] [PATCH] xlib: fix X_GLXCreateContextAtrribs/Attribs typo

2015-05-25 Thread Brian Paul
In case the glproto.h file isn't up to date, we provide the #define for X_GLXCreateContextAttribsARB. --- src/gallium/state_trackers/glx/xlib/glx_api.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/gallium/state_trackers/glx/xlib/glx_api.c b/src/gallium/state_trac

[Mesa-dev] [PATCH 1/5] mesa: add const qualifer on _mesa_is_compressed_format()

2015-05-25 Thread Brian Paul
--- src/mesa/main/glformats.c | 2 +- src/mesa/main/glformats.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/main/glformats.c b/src/mesa/main/glformats.c index 8ced579..6a77c91 100644 --- a/src/mesa/main/glformats.c +++ b/src/mesa/main/glformats.c @@ -1200,7 +120

[Mesa-dev] [PATCH 4/5] mesa: move decls, add const qualifiers in copyimage.c

2015-05-25 Thread Brian Paul
--- src/mesa/main/copyimage.c | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/mesa/main/copyimage.c b/src/mesa/main/copyimage.c index fd22f28..789f9a6 100644 --- a/src/mesa/main/copyimage.c +++ b/src/mesa/main/copyimage.c @@ -46,8 +46,6 @@ prepare_target(s

Re: [Mesa-dev] [PATCH] docs: Mark ARB_cull_distance as in progress

2015-05-25 Thread Samuel Pitoiset
yeah, very important thing to do *before* starting to write a new extension. ;) Reviewed-by: Samuel Pitoiset On 05/25/2015 03:57 PM, Tobias Klausmann wrote: Signed-off-by: Tobias Klausmann --- I'm already getting emails wanting me to do this, so just mark it, wont change anything really

[Mesa-dev] [PATCH 2/3] mesa: restore GL_EXT_depth_bounds_test state in glPopAttrib()

2015-05-25 Thread Brian Paul
Spotted by inspection. Untested (no piglit test). --- src/mesa/main/attrib.c | 5 + 1 file changed, 5 insertions(+) diff --git a/src/mesa/main/attrib.c b/src/mesa/main/attrib.c index 365a79d..53626e3 100644 --- a/src/mesa/main/attrib.c +++ b/src/mesa/main/attrib.c @@ -1091,6 +1091,11 @@ _mes

[Mesa-dev] [PATCH 1/3] mesa: fix glPushAttrib(0) / glPopAttrib() error

2015-05-25 Thread Brian Paul
If the glPushAttrib() mask value was zero we didn't actually push anything onto the attribute stack. A subsequent glPopAttrib() call would generate a GL_STACK_UNDERFLOW error. Now push a dummy attribute in that case to prevent the error. Mesa now matches nvidia's behavior. --- src/mesa/main/att

[Mesa-dev] [PATCH 3/3] mesa: move no-change glDepthFunc check earlier

2015-05-25 Thread Brian Paul
If the incoming func matches the current state it must be a legal value so we can do this before the switch statement. --- src/mesa/main/depth.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mesa/main/depth.c b/src/mesa/main/depth.c index 29851ec..bb4591c 100644 ---

[Mesa-dev] [Bug 90612] Request commit access to mesa

2015-05-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=90612 --- Comment #6 from Samuel Pitoiset --- That's a bit strange... Anyways, thank you guys! -- You are receiving this mail because: You are on the CC list for the bug. ___ mesa-dev mailing list mesa-dev

[Mesa-dev] [Bug 90612] Request commit access to mesa

2015-05-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=90612 --- Comment #5 from Daniel Stone --- That's correct, yeah. -- You are receiving this mail because: You are on the CC list for the bug. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://l

[Mesa-dev] [Bug 90600] IOError: [Errno 2] No such file or directory: 'gl_API.xml'

2015-05-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=90600 --- Comment #9 from Brian Paul --- (In reply to Vinson Lee from comment #6) > cf718cc964f86dc49c1fc9ed5e39aa5bd87ad931 is the first bad commit > commit cf718cc964f86dc49c1fc9ed5e39aa5bd87ad931 > Author: Dylan Baker > Date: Wed Nov 19 13:36:35

[Mesa-dev] [Bug 90612] Request commit access to mesa

2015-05-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=90612 --- Comment #4 from Samuel Pitoiset --- Mmmh.. This means I already have commit access to mesa repository? Btw, I never tried to push... -- You are receiving this mail because: You are on the CC list for the bug. ___

[Mesa-dev] [Bug 90147] swrast: build error undeclared _SC_PHYS_PAGES on osx

2015-05-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=90147 --- Comment #13 from Brian Paul --- Looks like the patch was commited as 31cd2d75dc3844e40143f649fe383de17c152a13 Bug is resolved as closed so I presume that's it. Re-open if not. -- You are receiving this mail because: You are the QA Contact

[Mesa-dev] [Bug 90612] Request commit access to mesa

2015-05-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=90612 Daniel Stone changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [Bug 90612] Request commit access to mesa

2015-05-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=90612 --- Comment #2 from Brian Paul --- Sounds good to me. Bug is already assigned to fd.o admins. -- You are receiving this mail because: You are on the CC list for the bug. ___ mesa-dev mailing list mes

Re: [Mesa-dev] Mesa (master): prog_to_nir: Use a variable for uniform data

2015-05-25 Thread Brian Paul
On 05/23/2015 01:48 PM, Jason Ekstrand wrote: Module: Mesa Branch: master Commit: 58aed1031d40e62c9f41f7c512b3165dd5913d1e URL: https://urldefense.proofpoint.com/v2/url?u=http-3A__cgit.freedesktop.org_mesa_mesa_commit_-3Fid-3D58aed1031d40e62c9f41f7c512b3165dd5913d1e&d=BQIGaQ&c=Sqcl0Ez6M0X8aeM

[Mesa-dev] [PATCH] docs: Mark ARB_cull_distance as in progress

2015-05-25 Thread Tobias Klausmann
Signed-off-by: Tobias Klausmann --- I'm already getting emails wanting me to do this, so just mark it, wont change anything really docs/GL3.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/GL3.txt b/docs/GL3.txt index 44a824b..8e1c8cd 100644 --- a/docs/GL3.txt +++ b/

Re: [Mesa-dev] [PATCH 00/11] TGSI support for input and output array declarations

2015-05-25 Thread Rob Clark
Ignoring the compiler for a moment, I think this would probably break my varying linking (where I match up VS out and FS in).. (and I wouldn't be surprised if somewhere between tgsi_to_nir and my compiler, it also caused breakage) Unless you have a setup where you can test/fix all the drivers, I

Re: [Mesa-dev] [PATCH] docs: Mark ARB_shader_storage_buffer_object as in progress

2015-05-25 Thread Chris Forbes
Oh, I meant I would have just pushed something like this :) - Chris On Mon, May 25, 2015 at 8:26 PM, Iago Toral wrote: > On Mon, 2015-05-25 at 20:15 +1200, Chris Forbes wrote: >> Hardly needed, but: > > I know, I should've sent this patch when we started working on this... I > got some comments

Re: [Mesa-dev] [PATCH v2 08/14] nir: add an optimization for removing dead control flow

2015-05-25 Thread Pohjolainen, Topi
On Thu, May 21, 2015 at 12:41:03PM -0400, Connor Abbott wrote: > I'm not so sure about where to put the helper currently in nir.c... on > the one hand, it's pretty specific to this pass, but on the other hand > it needs to do some very fiddly low-level things to the control flow > which is why it n

Re: [Mesa-dev] [PATCH 3/6] radeonsi: remove unused cases from si_shader_io_get_unique_index

2015-05-25 Thread Marek Olšák
No, the function is only used for linking ES->GS and it will be used for linking tessellation shaders. The OpenGL core profile is the only user of those shaders. Marek On Mon, May 25, 2015 at 5:35 AM, Michel Dänzer wrote: > On 24.05.2015 18:52, Marek Olšák wrote: >> From: Marek Olšák >> >> Thes

Re: [Mesa-dev] [PATCH] docs: Mark ARB_shader_storage_buffer_object as in progress

2015-05-25 Thread Iago Toral
On Mon, 2015-05-25 at 20:15 +1200, Chris Forbes wrote: > Hardly needed, but: I know, I should've sent this patch when we started working on this... I got some comments asking why this is marked as not started if there are patches in the mailing list, so I guess this will help make the current stat

Re: [Mesa-dev] [PATCH] docs: Mark ARB_shader_storage_buffer_object as in progress

2015-05-25 Thread Chris Forbes
Hardly needed, but: Reviewed-by: Chris Forbes On Mon, May 25, 2015 at 7:41 PM, Iago Toral Quiroga wrote: > --- > docs/GL3.txt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/docs/GL3.txt b/docs/GL3.txt > index 9d56ee5..44a824b 100644 > --- a/docs/GL3.txt > +++ b/do

Re: [Mesa-dev] [PATCH] i965: Remove _NEW_MULTISAMPLE dirty bit from 3DSTATE_PS_EXTRA.

2015-05-25 Thread Chris Forbes
Reviewed-by: Chris Forbes On Mon, May 25, 2015 at 7:38 PM, Kenneth Graunke wrote: > BRW_NEW_NUM_SAMPLES is sufficient. > > Signed-off-by: Kenneth Graunke > --- > src/mesa/drivers/dri/i965/gen8_ps_state.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/src/mesa/driv

[Mesa-dev] [PATCH] docs: Mark ARB_shader_storage_buffer_object as in progress

2015-05-25 Thread Iago Toral Quiroga
--- docs/GL3.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/GL3.txt b/docs/GL3.txt index 9d56ee5..44a824b 100644 --- a/docs/GL3.txt +++ b/docs/GL3.txt @@ -164,7 +164,7 @@ GL 4.3, GLSL 4.30: GL_ARB_program_interface_query DONE (all drivers)

[Mesa-dev] [PATCH] i965: Remove _NEW_MULTISAMPLE dirty bit from 3DSTATE_PS_EXTRA.

2015-05-25 Thread Kenneth Graunke
BRW_NEW_NUM_SAMPLES is sufficient. Signed-off-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/gen8_ps_state.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/drivers/dri/i965/gen8_ps_state.c b/src/mesa/drivers/dri/i965/gen8_ps_state.c index 85ad3b6..6b9489b 10