Re: [Mesa-dev] [PATCH] i965: Don't enable reset notification support on Gen4-5.

2014-04-14 Thread Timo Aaltonen
On 08.04.2014 00:31, Timo Aaltonen wrote: > On 12.03.2014 10:43, Kenneth Graunke wrote: >> arekm reported that using Chrome with GPU acceleration enabled on GM45 >> triggered the hw_ctx != NULL assertion in brw_get_graphics_reset_status. >> >> We definitely do not want to advertise reset notificati

[Mesa-dev] [Bug 77449] Tracker bug for all bugs related to Steam titles

2014-04-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=77449 Nicholas Miell changed: What|Removed |Added Depends on||66067 -- You are receiving this mail b

[Mesa-dev] [PATCH] r600g/radeonsi: Map transfer staging texture unsynchronized when possible

2014-04-14 Thread Michel Dänzer
From: Michel Dänzer The transfer staging texture is always freshly allocated, so for write-only transfers we don't need to explicitly wait for the BO to become idle. Squeezes a few hundered MB/s more out of x11perf -shmput500 with glamor. Signed-off-by: Michel Dänzer --- src/gallium/drivers/r

Re: [Mesa-dev] [PATCH] i965: Fix buffer overruns in MSAA MCS buffer clearing.

2014-04-14 Thread Kenneth Graunke
On 04/14/2014 05:33 PM, Eric Anholt wrote: > This manifested as rendering failures or sometimes GPU hangs in > compositors when they accidentally got MSAA visuals due to a bug in the X > Server. Today we decided that the problem in compositors was equivalent > to a corruption bug we'd noticed rece

Re: [Mesa-dev] [PATCH 1/3] i965/fs: Reimplement dead_code_elimination().

2014-04-14 Thread Matt Turner
On Mon, Apr 14, 2014 at 5:59 PM, Eric Anholt wrote: > Matt Turner writes: >> diff --git a/src/mesa/drivers/dri/i965/brw_fs_dead_code_eliminate.cpp >> b/src/mesa/drivers/dri/i965/brw_fs_dead_code_eliminate.cpp >> new file mode 100644 >> index 000..6addbb3 >> --- /dev/null >> +++ b/src/mesa/dr

Re: [Mesa-dev] [PATCH 2/3] i965/fs: Clear variable from live-set if it's completely overwritten.

2014-04-14 Thread Matt Turner
On Mon, Apr 14, 2014 at 5:50 PM, Eric Anholt wrote: > Matt Turner writes: > >> One program affected: >> >> instructions in affected programs: 246 -> 244 (-0.81%) >> --- >> src/mesa/drivers/dri/i965/brw_fs_dead_code_eliminate.cpp | 7 +++ >> 1 file changed, 7 insertions(+) >> >> diff --gi

Re: [Mesa-dev] [Mesa-stable] [PATCH 3/3] i965: Fix component mask and varying_to_slot mapping for gl_ViewportIndex

2014-04-14 Thread Chris Forbes
Are the streamout values allowed to be restricted to the ranges of the vertex header fields, or do they have to reflect exactly what the shader wrote? (I ran into a similar issue with ARB_fragment_layer_viewport, and while nothing has been done about it, the consensus was that the FS had to see ex

Re: [Mesa-dev] [Mesa-stable] [PATCH] i965: Fix buffer overruns in MSAA MCS buffer clearing.

2014-04-14 Thread Ian Romanick
On 04/14/2014 05:33 PM, Eric Anholt wrote: > This manifested as rendering failures or sometimes GPU hangs in > compositors when they accidentally got MSAA visuals due to a bug in the X > Server. Today we decided that the problem in compositors was equivalent > to a corruption bug we'd noticed rece

Re: [Mesa-dev] [PATCH 1/3] i965/fs: Reimplement dead_code_elimination().

2014-04-14 Thread Eric Anholt
Matt Turner writes: > diff --git a/src/mesa/drivers/dri/i965/brw_fs_dead_code_eliminate.cpp > b/src/mesa/drivers/dri/i965/brw_fs_dead_code_eliminate.cpp > new file mode 100644 > index 000..6addbb3 > --- /dev/null > +++ b/src/mesa/drivers/dri/i965/brw_fs_dead_code_eliminate.cpp > + > +/** @fi

[Mesa-dev] [PATCH v2] translate_sse: Preserve low bit during unsigned -> float conversion.

2014-04-14 Thread Andreas Hartmetz
From: Andreas Hartmetz --- src/gallium/auxiliary/translate/translate_sse.c | 35 - 1 file changed, 28 insertions(+), 7 deletions(-) diff --git a/src/gallium/auxiliary/translate/translate_sse.c b/src/gallium/auxiliary/translate/translate_sse.c index dace722..2a0d3c1 1006

Re: [Mesa-dev] [PATCH 5/7] translate_sse: Preserve low bit during unsigned -> float conversion.

2014-04-14 Thread Andreas Hartmetz
> > + /* right shift & convert, losing the low bit - must clear > > +* high bit because there is no unsigned convert > > instruction */> > > sse2_psrld_imm(p->func, dataXMM, 1); > > > > + sse2_cvtdq2ps(p->func, dataXMM, dataXMM); > > + >

Re: [Mesa-dev] [PATCH 2/3] i965/fs: Clear variable from live-set if it's completely overwritten.

2014-04-14 Thread Eric Anholt
Matt Turner writes: > One program affected: > > instructions in affected programs: 246 -> 244 (-0.81%) > --- > src/mesa/drivers/dri/i965/brw_fs_dead_code_eliminate.cpp | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/src/mesa/drivers/dri/i965/brw_fs_dead_code_eliminate.cpp >

[Mesa-dev] [PATCH] i965: Fix buffer overruns in MSAA MCS buffer clearing.

2014-04-14 Thread Eric Anholt
This manifested as rendering failures or sometimes GPU hangs in compositors when they accidentally got MSAA visuals due to a bug in the X Server. Today we decided that the problem in compositors was equivalent to a corruption bug we'd noticed recently in resizing MSAA-visual glxgears, and debuggin

[Mesa-dev] [PATCH 3/3] i965: Fix component mask and varying_to_slot mapping for gl_ViewportIndex

2014-04-14 Thread Anuj Phogat
gl_ViewportIndex doesn't get its own varying slot. It is stored in VARYING_SLOT_PSIZ.z. This patch fixes the issue for both gen7 and gen8 because gen7_upload_3dstate_so_decl_list() is shared between them. Fixes failures in OpenGL Khronos CTS test transform_feedback_builtins. Makes new piglit test

[Mesa-dev] [PATCH 2/3] i965: Fix component mask and varying_to_slot mapping for gl_Layer

2014-04-14 Thread Anuj Phogat
gl_Layer doesn't get its own varying slot. It is stored in VARYING_SLOT_PSIZ.y. This patch fixes the issue for both gen7 and gen8 because gen7_upload_3dstate_so_decl_list() is shared between them. Fixes failures in OpenGL Khronos CTS test transform_feedback_builtins. Makes new piglit test glsl-1.5

[Mesa-dev] [PATCH 1/3] i965: Put an assertion to check valid varying_to_slot[varying]

2014-04-14 Thread Anuj Phogat
Cc: Signed-off-by: Anuj Phogat --- src/mesa/drivers/dri/i965/gen7_sol_state.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/drivers/dri/i965/gen7_sol_state.c b/src/mesa/drivers/dri/i965/gen7_sol_state.c index 1b58efb..06a4cdf 100644 --- a/src/mesa/drivers/dri/i965/gen7_sol_state.

Re: [Mesa-dev] [PATCH 01/10] winsys/radeon: remove cs_write_reloc, add simpler cs_get_reloc

2014-04-14 Thread Marek Olšák
Actually, I take it back. There are several reasons for having an explicit flag. 1) Flushes from the state tracker are always synchronous. It's because the CS ioctl must be finished before libGL sends the SwapBuffers request to the X server. 2) Flushes before calling buffer_map where synchronizat

Re: [Mesa-dev] [PATCH] i965/fs: Add pass to rename registers to break live ranges.

2014-04-14 Thread Matt Turner
On Mon, Apr 14, 2014 at 3:01 PM, Matt Turner wrote: > From: Kenneth Graunke > > The pass breaks live ranges of virtual registers by allocating new > registers when it sees an assignment to a virtual GRF it's already seen > written. > > total instructions in shared programs: 1656292 -> 1651898 (-0

[Mesa-dev] [PATCH] i965/fs: Add pass to rename registers to break live ranges.

2014-04-14 Thread Matt Turner
From: Kenneth Graunke The pass breaks live ranges of virtual registers by allocating new registers when it sees an assignment to a virtual GRF it's already seen written. total instructions in shared programs: 1656292 -> 1651898 (-0.27%) instructions in affected programs: 466836 -> 462442 (-0

Re: [Mesa-dev] EXTERNAL: Re: Clover clEnqueue* function don't implement blocking?

2014-04-14 Thread Francisco Jerez
"Dorrington, Albert" writes: >> -Original Message- >> From: Francisco Jerez [mailto:curroje...@riseup.net] >> Sent: Monday, April 14, 2014 4:04 PM >> To: Dorrington, Albert; mesa-dev@lists.freedesktop.org >> Subject: RE: EXTERNAL: Re: [Mesa-dev] Clover clEnqueue* function don't >> impleme

[Mesa-dev] [Bug 77449] Tracker bug for all bugs related to Steam titles

2014-04-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=77449 Tapani Pälli changed: What|Removed |Added CC||lem...@gmail.com -- You are receiving th

Re: [Mesa-dev] [PATCH 2/2] i965: Disable Z16 in all APIs.

2014-04-14 Thread Kenneth Graunke
On 04/14/2014 06:30 AM, Chia-I Wu wrote: > On Mon, Apr 14, 2014 at 1:04 PM, Kenneth Graunke > wrote: >> We originally thought that GL 3.0 required GL_DEPTH_COMPONENT16 to map >> exactly to Z16. However, we misread the specification, thanks in part >> to LaTeX reordering the tables in the PDF. >>

[Mesa-dev] [PATCH 3/3] i965/fs: Remove dead_code_eliminate_local().

2014-04-14 Thread Matt Turner
Subsumed by the new dead_code_eliminate() function. No shader-db changes. --- src/mesa/drivers/dri/i965/brw_fs.cpp | 158 --- src/mesa/drivers/dri/i965/brw_fs.h | 1 - 2 files changed, 159 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/me

[Mesa-dev] [PATCH 1/3] i965/fs: Reimplement dead_code_elimination().

2014-04-14 Thread Matt Turner
total instructions in shared programs: 1653399 -> 1651790 (-0.10%) instructions in affected programs: 92157 -> 90548 (-1.75%) GAINED:2 LOST: 2 Also significantly reduces the number of optimization loop iterations: total loop ite

[Mesa-dev] [PATCH 0/3] i965/fs: New dead code elimination.

2014-04-14 Thread Matt Turner
In the process of doing other things, dead code elimination got in my way. So I killed it. The new dead code elimination pass uses the liveout set from dataflow analysis to remove dead instructions. Neither of the two old passes could, for instance remove a dead write if it was later overwritten u

[Mesa-dev] [PATCH 2/3] i965/fs: Clear variable from live-set if it's completely overwritten.

2014-04-14 Thread Matt Turner
One program affected: instructions in affected programs: 246 -> 244 (-0.81%) --- src/mesa/drivers/dri/i965/brw_fs_dead_code_eliminate.cpp | 7 +++ 1 file changed, 7 insertions(+) diff --git a/src/mesa/drivers/dri/i965/brw_fs_dead_code_eliminate.cpp b/src/mesa/drivers/dri/i965/brw_fs_dea

Re: [Mesa-dev] EXTERNAL: Re: Clover clEnqueue* function don't implement blocking?

2014-04-14 Thread Dorrington, Albert
> -Original Message- > From: Francisco Jerez [mailto:curroje...@riseup.net] > Sent: Monday, April 14, 2014 4:04 PM > To: Dorrington, Albert; mesa-dev@lists.freedesktop.org > Subject: RE: EXTERNAL: Re: [Mesa-dev] Clover clEnqueue* function don't > implement blocking? > > "Dorrington, Albe

Re: [Mesa-dev] [PATCH 0/2] Turning swrast into DRI2 drivers

2014-04-14 Thread Dave Airlie
On Sat, Apr 12, 2014 at 10:25 AM, Giovanni Campagna wrote: > Hi everyone, > > Some time ago I sent patches to enable the swrast driver on > GBM/DRM, and I did them in the dumbest way possible (that is, > having GBM implement the dri-swrast interface), to make sure > it would work without kernel su

[Mesa-dev] [Bug 77449] New: Tracker bug for all bugs related to Steam titles

2014-04-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=77449 Priority: medium Bug ID: 77449 CC: court...@lunarg.com, j...@lunarg.com Assignee: mesa-dev@lists.freedesktop.org Summary: Tracker bug for all bugs related to Steam titles Severit

[Mesa-dev] [Bug 77449] Tracker bug for all bugs related to Steam titles

2014-04-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=77449 Ian Romanick changed: What|Removed |Added Depends on||76858 -- You are receiving this mail bec

Re: [Mesa-dev] EXTERNAL: Re: Clover clEnqueue* function don't implement blocking?

2014-04-14 Thread Francisco Jerez
"Dorrington, Albert" writes: >[...] > But when these events are queued, if there isn't a wait(), then what > triggers their flush from the queued_events list? That seems to only > happen when the hard_event::wait() is called (assuming the status is > queued) > Yes, that's right, or when clFlush(

Re: [Mesa-dev] [PATCH] meta: Clip src/dest rects in BlitFramebuffer.

2014-04-14 Thread Chris Forbes
Right, that makes good sense. On Mon, Apr 14, 2014 at 11:28 PM, Marek Olšák wrote: > For scaled blits, this is not correct. For example, if you blit a > 10x10 texture to another 10x10 texture with horizontal scaling of > 1.5x, the X texture coordinate of the rightmost pixel should be > 6.66.

Re: [Mesa-dev] [PATCH 1/3] radeonsi: move translate_colorswap to common code

2014-04-14 Thread Carl Worth
Marek Olšák writes: > The patch is probably not necessary. The same applies to patch 2. Thanks. I've dropped both, and this seems to have fixed the build problem I had introduced. I also just force-pushed this new 10.1 branch without the cherry-picked commit that was causing the build failure. I

Re: [Mesa-dev] [PATCH 1/2] mesa: Track max enabled tex image unit

2014-04-14 Thread Anuj Phogat
On Sat, Apr 12, 2014 at 5:37 PM, Chris Forbes wrote: > > This gives us a better bound for some hot loops in the drivers than > MAX_COMBINED_TEXTURE_IMAGE_UNITS, which is ridiculously large on modern > hardware, and only getting worse as more shader stages are added. > > Signed-off-by: Chris Forbes

Re: [Mesa-dev] Preparing for 10.1.1

2014-04-14 Thread Carl Worth
Dylan Baker writes: > Carl, the 10.1 branch does not currently build for r600, I get the following > message: Thanks for testing, Dylan! As part of my standard list of release steps, I do generally do a build of all drivers. I guess I just need to get in the habit of doing this before pushing t

[Mesa-dev] [Bug 77443] Potential regressions from 1afe3359258a9

2014-04-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=77443 Carl Worth changed: What|Removed |Added Assignee|mesa-dev@lists.freedesktop. |kenn...@whitecape.org |or

[Mesa-dev] [Bug 77443] New: Potential regressions from 1afe3359258a9

2014-04-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=77443 Priority: medium Bug ID: 77443 Assignee: mesa-dev@lists.freedesktop.org Summary: Potential regressions from 1afe3359258a9 Severity: normal Classification: Unclassified OS: Al

Re: [Mesa-dev] [PATCH] mesa/st: unmap transfer only if not null

2014-04-14 Thread Marek Olšák
Hi, the tests have already been fixed in the master branch. You seem to use Mesa code that is quite old. This patch won't apply. Marek On Mon, Apr 14, 2014 at 6:17 PM, Sebastian Wick wrote: > Fixes crash for r600g in piglit tests > fbo-generatemipmap-3d RGB9_E5 > fbo-generatemipmap-array RGB9_E5

Re: [Mesa-dev] EXTERNAL: Re: Clover clEnqueue* function don't implement blocking?

2014-04-14 Thread Dorrington, Albert
> -Original Message- > From: Francisco Jerez [mailto:curroje...@riseup.net] > Sent: Monday, April 14, 2014 11:21 AM > To: Dorrington, Albert; mesa-dev@lists.freedesktop.org > Subject: EXTERNAL: Re: [Mesa-dev] Clover clEnqueue* function don't > implement blocking? > > "Dorrington, Albert"

Re: [Mesa-dev] [PATCH] mesa/st: unmap transfer only if not null

2014-04-14 Thread Brian Paul
On 04/14/2014 10:17 AM, Sebastian Wick wrote: Fixes crash for r600g in piglit tests fbo-generatemipmap-3d RGB9_E5 fbo-generatemipmap-array RGB9_E5 Signed-off-by: Sebastian Wick --- src/mesa/state_tracker/st_texture.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/m

[Mesa-dev] [PATCH] mesa/st: unmap transfer only if not null

2014-04-14 Thread Sebastian Wick
Fixes crash for r600g in piglit tests fbo-generatemipmap-3d RGB9_E5 fbo-generatemipmap-array RGB9_E5 Signed-off-by: Sebastian Wick --- src/mesa/state_tracker/st_texture.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mesa/state_tracker/st_texture.c b/src/mesa/state_t

Re: [Mesa-dev] [PATCH 1/3] scons: Enable building through Clang Static Analyzer.

2014-04-14 Thread Brian Paul
On 04/14/2014 07:32 AM, jfons...@vmware.com wrote: From: José Fonseca By accurately detecting gcc/clang through --version option instead of executable name. Clang Static Analyzer reports many issues, most false positives, but it found at least one real and subtle use-after-free issue in st_tex

Re: [Mesa-dev] [PATCH] softpipe: fix shadow sampling and remove nonsensical approximation of linear interpolation behavior for shadow samplers.

2014-04-14 Thread Roland Scheidegger
Am 14.04.2014 16:32, schrieb Janzing, Heinrich: > Are you saying that the nearest neighbour sampling implementation is > still not entirely correct now? No this is correct indeed. For the linear interpolation case I > much prefer the current imperfect behavior over the previous > behavior, thou

Re: [Mesa-dev] [PATCH 5/7] translate_sse: Preserve low bit during unsigned -> float conversion.

2014-04-14 Thread Roland Scheidegger
I am not too familiar with translate sse code, so someone else should probably look at it. The rest of the series looks good to me, a comment inline. Am 13.04.2014 22:29, schrieb Andreas Hartmetz: > From: Andreas Hartmetz > > --- > src/gallium/auxiliary/translate/translate_sse.c | 35 > ++

Re: [Mesa-dev] Clover clEnqueue* function don't implement blocking?

2014-04-14 Thread Francisco Jerez
"Dorrington, Albert" writes: > From reviewing api/transfer.cpp, it looks like all of the API calls that have > a blocking parameter do not have anything that implement blocking > functionality. > > clEnqueueReadBuffer(), clEnqueueWriteBuffer(), > clEnqueueReadBufferRect(), clEnqueueWriteBufferR

Re: [Mesa-dev] [PATCH] softpipe: fix shadow sampling and remove nonsensical approximation of linear interpolation behavior for shadow samplers.

2014-04-14 Thread Janzing, Heinrich
Are you saying that the nearest neighbour sampling implementation is still not entirely correct now? For the linear interpolation case I much prefer the current imperfect behavior over the previous behavior, though a comment might still have been in order to highlight the remaining work in that

Re: [Mesa-dev] [PATCH] softpipe: fix shadow sampling and remove nonsensical approximation of linear interpolation behavior for shadow samplers.

2014-04-14 Thread Roland Scheidegger
Am 11.04.2014 09:14, schrieb Janzing, Heinrich: > Shadow sampling appeared to be fundamentally broken; fix in > attachment. > This looks ok to me (I put in the comment about this not making sense in the first place...). It should be noted though and I'd have preferred if a comment would still say

[Mesa-dev] Clover clEnqueue* function don't implement blocking?

2014-04-14 Thread Dorrington, Albert
>From reviewing api/transfer.cpp, it looks like all of the API calls that have >a blocking parameter do not have anything that implement blocking >functionality. clEnqueueReadBuffer(), clEnqueueWriteBuffer(), clEnqueueReadBufferRect(), clEnqueueWriteBufferRect(), clEnqueueReadImage(), clEnqueueW

[Mesa-dev] [PATCH] i965/vec4: unit test for copy propagation and writemask

2014-04-14 Thread Chia-I Wu
This unit test demonstrates a subtle bug fixed by 4ddf51db6af36736d5d42c1043eeea86e47459ce. Signed-off-by: Chia-I Wu Cc: Eric Anholt --- .../dri/i965/test_vec4_copy_propagation.cpp| 30 ++ 1 file changed, 30 insertions(+) diff --git a/src/mesa/drivers/dri/i965/test_

[Mesa-dev] [PATCH 2/3] util/u_debug: Add noreturn attribute to _debug_assert_fail().

2014-04-14 Thread jfonseca
From: José Fonseca As recommended by http://clang-analyzer.llvm.org/annotations.html#attr_noreturn --- src/gallium/auxiliary/util/u_debug.h | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/util/u_debug.h b/src/gallium/auxiliary/util/u_debug.h index

[Mesa-dev] [PATCH 1/3] scons: Enable building through Clang Static Analyzer.

2014-04-14 Thread jfonseca
From: José Fonseca By accurately detecting gcc/clang through --version option instead of executable name. Clang Static Analyzer reports many issues, most false positives, but it found at least one real and subtle use-after-free issue in st_texture_get_sampler_view(): http://people.freedeskto

[Mesa-dev] [PATCH 3/3] scons: Add an analyze option.

2014-04-14 Thread jfonseca
From: José Fonseca For Clang static code analyzer, the scan-build script will produce more comprehensive output. Nevertheless you can invoke it as CC=clang CXX=clang++ scons analyze=1 For MSVC this is the best way to use its static code analysis. Simply invoke as scons analyze=1 --- com

Re: [Mesa-dev] [PATCH 2/2] i965: Disable Z16 in all APIs.

2014-04-14 Thread Chia-I Wu
On Mon, Apr 14, 2014 at 1:04 PM, Kenneth Graunke wrote: > We originally thought that GL 3.0 required GL_DEPTH_COMPONENT16 to map > exactly to Z16. However, we misread the specification, thanks in part > to LaTeX reordering the tables in the PDF. > > Page 180 of the GL 3.0 specification (glspec30.

Re: [Mesa-dev] [PATCH 01/10] winsys/radeon: remove cs_write_reloc, add simpler cs_get_reloc

2014-04-14 Thread Marek Olšák
Yes, I will remove the flag in the next patch series. Marek On Sun, Apr 13, 2014 at 10:45 AM, Christian König wrote: > For this series: Reviewed-by: Christian König > > BTW: Can we get rid of RADEON_FLUSH_ASYNC and always flush asynchronously? > Just calling cs_sync_flush directly after the flu

[Mesa-dev] "Digital Video and Television", by Prof Ioannis Pitas, 2013

2014-04-14 Thread Aiia Announcements
Dear colleagues, I am proud to announce the publication of my latest book: "Digital Video and Television", by Prof Ioannis Pitas, 2013. The book provides the most up-to-date introduction to digital video and television. The entire process is covered, from video production, to its delivery

Re: [Mesa-dev] [PATCH] meta: Clip src/dest rects in BlitFramebuffer.

2014-04-14 Thread Marek Olšák
For scaled blits, this is not correct. For example, if you blit a 10x10 texture to another 10x10 texture with horizontal scaling of 1.5x, the X texture coordinate of the rightmost pixel should be 6.66. Mesa clip blit doesn't return floating-point coordinates of the source, so you can't use them

[Mesa-dev] [PATCH] meta: Clip src/dest rects in BlitFramebuffer.

2014-04-14 Thread Chris Forbes
Nothing was bothering to clip the blit. If the src rect was partially outside the framebuffer, we'd end up picking up more copies of the edge texels due to clamping. Note that this is slight overkill -- we could get away with clipping src only, since fragments outside the destination surface will

[Mesa-dev] [Bug 73106] gtest-port.h:499:13: fatal error: 'tr1/tuple' file not found

2014-04-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=73106 Vinson Lee changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [PATCH v2] glsl: Fix incorrect indentation.

2014-04-14 Thread Iago Toral Quiroga
Thanks for reviewing and sorry for the huge patch, unfortunately indentation was wrong all over the place, so it was this or a large number of smaller patches :-( I fixed the issues you found and completed the patch to fix some other things that I missed in my previous patch, mostly about wrong in

Re: [Mesa-dev] [PATCH] softpipe: fix shadow sampling and remove nonsensical approximation of linear interpolation behavior for shadow samplers.

2014-04-14 Thread Janzing, Heinrich
Yes please. Thanks! -Original Message- Date: Fri, 11 Apr 2014 08:06:42 -0600 From: Brian Paul To: mesa-dev@lists.freedesktop.org Subject: Re: [Mesa-dev] [PATCH] softpipe: fix shadow sampling and remove nonsensical approximation of linear interpolation behavior for shadow s