On 30 March 2015 at 10:11, Jose Fonseca wrote:
> On 29/03/15 00:56, Emil Velikov wrote:
>>
>> Both of which were removed with commit 69db422218b(scons: Don't build
>> osmesa.)
>>
>> Cc: Jose Fonseca
>> Signed-off-by: Emil Velikov
>> ---
>> src/mesa/drivers/osmesa/Makefile.am | 2 --
>> 1 file
On 1 April 2015 at 00:30, Matt Turner wrote:
> Thanks Emil. Both are
>
> Reviewed-by: Matt Turner
Great, thanks.
Will you be able to take a look at the "configure.ac: error out if
python/mako is not found when required" [1]. Afaics it's the final
piece which should allow distributions to build m
Am 01.04.2015 um 04:57 schrieb Michel Dänzer:
> On 01.04.2015 00:36, Roland Scheidegger wrote:
>> Am 31.03.2015 um 08:33 schrieb Michel Dänzer:
>>> From: Michel Dänzer
>>>
>>> Signed-off-by: Michel Dänzer
>>> ---
>>> src/gallium/auxiliary/gallivm/lp_bld_debug.cpp | 5 +
>>> 1 file changed, 5
Am 01.04.2015 um 03:44 schrieb Rob Clark:
> On Tue, Mar 31, 2015 at 9:03 PM, Roland Scheidegger
> wrote:
>> Am 01.04.2015 um 00:57 schrieb Rob Clark:
>>> From: Rob Clark
>>>
>>> Based on the algo from NV50LegalizeSSA::handleDIV() and handleMOD().
>>> See also trans_idiv() in freedreno/ir3/ir3_co
Hello;
Here's the v2 implementation of ARB_program_interface_query extension.
I have addressed errors found by Ilia Mirkin in his review and there
are several small fixes here and there for bugs revealed with Martin's
Piglit tests.
Patches add a resource list as part of gl_shader_program which
Previously linker did not take in to account case where one would
have only gs and fs (with SSO), patch adds the case by refactoring
code around assign_varying_locations. This makes sure locations for
gs get populated correctly.
This was found with some of the SSO subtests of Martin's upcoming
Get
Patch adds required helper functions to shaderapi.h and
the actual implementation.
v2: code cleanup (Ilia Mirkin)
corresponding Piglit test:
arb_program_interface_query-resource-index
Signed-off-by: Tapani Pälli
---
src/mesa/main/program_resource.c | 85 -
Patch adds required helper functions to shaderapi.h and
the actual implementation.
corresponding Piglit test:
arb_program_interface_query-resource-location
The added functionality can be tested by tests for following
functions that are refactored by later patches:
GetAttribLocation
GetU
Patch adds required helper functions to shaderapi.h and
the actual implementation.
The added functionality can be tested by tests for following
functions that are refactored by later patches:
GetFragDataIndex
v2: return -1 if output not referenced by fragment stage
(Ilia Mirkin)
Signed-o
Patch adds required helper functions to shaderapi.h and
the actual implementation.
Name generation copied from '_mesa_get_uniform_name' which can
be removed later by refactoring functions to use resource list.
The added functionality can be tested by tests for following
functions that are refacto
Instead of iterating IR, retrieve required information through
the new program resource functions.
Signed-off-by: Tapani Pälli
Reviewed-by: Ilia Mirkin
---
src/mesa/main/shader_query.cpp | 58 --
1 file changed, 27 insertions(+), 31 deletions(-)
diff --g
Patch adds ProgramResourceList to gl_shader_program structure.
List contains references to active program resources and is
constructed during linking phase.
This list will be used by follow-up patches to implement hooks
for GL_ARB_program_interface_query. It can be also used to
implement any of th
Patch adds required helper functions to shaderapi.h and
the actual implementation.
The property query functionality can be tested with tests for
following functions that are refactored by later patches:
GetActiveAtomicCounterBufferiv
GetActiveUniformBlockiv
GetActiveUniformsiv
v2: code
(and mark it as DONE in docs/GL3.txt + 10.6.0 relnotes)
Signed-off-by: Tapani Pälli
---
docs/GL3.txt | 4 ++--
docs/relnotes/10.6.0.html | 1 +
src/mesa/main/extensions.c | 1 +
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/docs/GL3.txt b/docs/GL3.txt
index 361426
Use _mesa_get_program_resource_name to get name.
Signed-off-by: Tapani Pälli
---
src/mesa/main/uniforms.c | 18 +-
1 file changed, 5 insertions(+), 13 deletions(-)
diff --git a/src/mesa/main/uniforms.c b/src/mesa/main/uniforms.c
index 078e433..8872344 100644
--- a/src/mesa/main/
Signed-off-by: Tapani Pälli
---
src/mesa/main/uniforms.c | 39 ---
src/mesa/main/uniforms.h | 5 -
2 files changed, 44 deletions(-)
diff --git a/src/mesa/main/uniforms.c b/src/mesa/main/uniforms.c
index 69f8a3f..078e433 100644
--- a/src/mesa/main/uniforms
Use _mesa_get_program_resource_name to get name.
Signed-off-by: Tapani Pälli
---
src/mesa/main/uniforms.c | 11 ++-
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/src/mesa/main/uniforms.c b/src/mesa/main/uniforms.c
index dc9b5a0..69f8a3f 100644
--- a/src/mesa/main/uniforms
Patch adds required helper functions to shaderapi.h and
the actual implementation.
v2: code cleanup (Ilia Mirkin)
fix array size fo xfb varyings
validate programInterface and throw error
corresponding Piglit test:
arb_program_interface_query-getprograminterfaceiv
Signed-off-by: Tapani
v2: update dispatch_sanity test (Jason Ekstrand)
+ small code cleanups
v3: xml and Makefile fixes (Ilia Mirkin, Matt Turner)
Signed-off-by: Tapani Pälli
Reviewed-by: Matt Turner
---
src/mapi/glapi/gen/ARB_program_interface_query.xml | 109 +
src/mapi/glapi/gen/gl_API.xm
Signed-off-by: Tapani Pälli
---
src/mesa/main/transformfeedback.c | 19 ---
1 file changed, 12 insertions(+), 7 deletions(-)
diff --git a/src/mesa/main/transformfeedback.c
b/src/mesa/main/transformfeedback.c
index 0a6d00c..103011c 100644
--- a/src/mesa/main/transformfeedback.c
+
Patch adds new function 'mesa_bufferiv' and refactors existing
GetActiveUniformBlockiv and GetActiveAtomicCounterBufferiv to
use it.
corresponding Piglit tests:
arb_uniform_buffer_object*
arb_shader_atomic_counters*
(Many tests hit the corresponding queries.)
Signed-off-by: Tapani Pälli
-
Use _mesa_program_resource_location_index to fetch index.
Signed-off-by: Tapani Pälli
Reviewed-by: Ilia Mirkin
---
src/mesa/main/shader_query.cpp | 25 ++---
1 file changed, 2 insertions(+), 23 deletions(-)
diff --git a/src/mesa/main/shader_query.cpp b/src/mesa/main/shader_
Use program_resource_location to fetch location.
Signed-off-by: Tapani Pälli
---
src/mesa/main/shader_query.cpp | 38 --
1 file changed, 16 insertions(+), 22 deletions(-)
diff --git a/src/mesa/main/shader_query.cpp b/src/mesa/main/shader_query.cpp
index cbdcc
Signed-off-by: Tapani Pälli
---
src/mesa/main/uniform_query.cpp | 33 -
1 file changed, 16 insertions(+), 17 deletions(-)
diff --git a/src/mesa/main/uniform_query.cpp b/src/mesa/main/uniform_query.cpp
index 9611667..4e77b32 100644
--- a/src/mesa/main/uniform_query
Signed-off-by: Tapani Pälli
Reviewed-by: Ilia Mirkin
---
src/mesa/main/uniform_query.cpp | 109 ++--
1 file changed, 39 insertions(+), 70 deletions(-)
diff --git a/src/mesa/main/uniform_query.cpp b/src/mesa/main/uniform_query.cpp
index 2ab5528..9611667 100644
Use program_resource_location to fetch location.
Signed-off-by: Tapani Pälli
---
src/mesa/main/shader_query.cpp | 42 --
1 file changed, 20 insertions(+), 22 deletions(-)
diff --git a/src/mesa/main/shader_query.cpp b/src/mesa/main/shader_query.cpp
index 0
Use _mesa_program_resource_index to get indices.
Signed-off-by: Tapani Pälli
---
src/mesa/main/uniforms.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/mesa/main/uniforms.c b/src/mesa/main/uniforms.c
index 0c16641..f4de1df 100644
--- a/src/mesa/main/uniforms.c
+++
Use _mesa_program_resource_location to get location.
Signed-off-by: Tapani Pälli
---
src/mesa/main/uniforms.c | 19 +--
1 file changed, 1 insertion(+), 18 deletions(-)
diff --git a/src/mesa/main/uniforms.c b/src/mesa/main/uniforms.c
index 8872344..0c16641 100644
--- a/src/mesa/m
Use _mesa_program_resource_index to get index.
Signed-off-by: Tapani Pälli
---
src/mesa/main/uniforms.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/mesa/main/uniforms.c b/src/mesa/main/uniforms.c
index f4de1df..5548d1d 100644
--- a/src/mesa/main/uniforms.
On Tue, Mar 31, 2015 at 7:08 PM, Matt Turner wrote:
> On Tue, Mar 31, 2015 at 3:57 PM, Rob Clark wrote:
>> From: Rob Clark
>>
>> Freedreno and vc4 want this behavior for the time being (until we have
>> real flow control). Even after that, we probably want to turn this into
>> some sort of driv
On Wed, Apr 1, 2015 at 7:09 AM, Roland Scheidegger wrote:
> Am 01.04.2015 um 03:44 schrieb Rob Clark:
>> On Tue, Mar 31, 2015 at 9:03 PM, Roland Scheidegger
>> wrote:
>>> Am 01.04.2015 um 00:57 schrieb Rob Clark:
From: Rob Clark
Based on the algo from NV50LegalizeSSA::handleDIV()
Hi
On Mon, Mar 30, 2015 at 8:12 AM, Dave Airlie wrote:
> From: Dave Airlie
>
> At the moment to get an EGL image to a dma-buf file descriptor,
> you have to use EGL_MESA_drm_image, and then use libdrm to
> convert this to a file descriptor.
>
> This extension just provides an API modelled on EG
Unused as of commit 630ab0d27ba(mesa: remove last of MAX_WIDTH,
MAX_HEIGHT). Update all the remaining references to the defines.
XXX: Does the updated comments in xlib-libGL make sense, or should one
consider SWRAST_MAX_WIDTH ?
Cc: Brian Paul
Signed-off-by: Emil Velikov
---
configure.ac
On 04/01/2015 08:51 AM, Emil Velikov wrote:
Unused as of commit 630ab0d27ba(mesa: remove last of MAX_WIDTH,
MAX_HEIGHT). Update all the remaining references to the defines.
XXX: Does the updated comments in xlib-libGL make sense, or should one
consider SWRAST_MAX_WIDTH ?
Cc: Brian Paul
Signed-
Am 01.04.2015 um 15:50 schrieb Ilia Mirkin:
> On Wed, Apr 1, 2015 at 7:09 AM, Roland Scheidegger wrote:
>> Am 01.04.2015 um 03:44 schrieb Rob Clark:
>>> On Tue, Mar 31, 2015 at 9:03 PM, Roland Scheidegger
>>> wrote:
Am 01.04.2015 um 00:57 schrieb Rob Clark:
> From: Rob Clark
>
On 2015-04-01 02:43:38, Francisco Jerez wrote:
> It has always struck me as odd that these objects are both called
> visitors even though visiting only makes for a tiny fraction of their
> job. Other no less important tasks seem misrepresented, like
> optimizing, analyzing, emitting and pretty-pri
Unfortunately, we can't support unstructured COME FROM yet, since we
can't structurize arbitrary control flow graphs. Also TODO is adding
support for threading by having multiple come_from's point to the same
unconditional branch, as well as various other INTERCAL features.
Signed-off-by: Connor A
Unfortunately, we can't support unstructured COME FROM yet, since we
can't structurize arbitrary control flow graphs. Also TODO is adding
support for threading by having multiple come_from's point to the same
unconditional branch, as well as various other INTERCAL features.
Signed-off-by: Connor A
---
src/mesa/tnl/t_rasterpos.c | 1 -
src/mesa/tnl/t_vb_fog.c | 1 -
src/mesa/tnl/t_vb_light.c | 1 -
src/mesa/tnl/t_vb_normals.c | 1 -
src/mesa/tnl/t_vb_program.c | 1 -
src/mesa/tnl/t_vb_texgen.c | 1 -
src/mesa/tnl/t_vb_texmat.c | 1 -
src/mesa/tnl/t_vb_ver
---
src/mesa/swrast/s_aatriangle.c | 1 -
src/mesa/swrast/s_alpha.c | 1 -
src/mesa/swrast/s_atifragshader.c | 1 -
src/mesa/swrast/s_context.c | 1 -
src/mesa/swrast/s_copypix.c | 1 -
src/mesa/swrast/s_feedback.c| 1 -
src/mesa/swrast/s_fog.c
---
src/mesa/main/attrib.c | 1 -
src/mesa/main/debug.c| 2 +-
src/mesa/main/pixel.c| 1 -
src/mesa/main/pixeltransfer.c| 2 +-
src/mesa/main/samplerobj.h | 3 +++
src/mesa/main/texcompress.c | 1 -
src/mesa/main/texcompress_fxt1.c | 1 -
src/mesa/m
---
src/mesa/main/format_pack.py | 1 -
src/mesa/main/format_unpack.h | 2 ++
src/mesa/main/format_unpack.py | 1 -
3 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mesa/main/format_pack.py b/src/mesa/main/format_pack.py
index f141da8..2f43a30 100644
--- a/src/mesa/main/format
---
src/mesa/main/colormac.h | 45 -
1 file changed, 45 deletions(-)
diff --git a/src/mesa/main/colormac.h b/src/mesa/main/colormac.h
index bc69f46..33ca5af 100644
--- a/src/mesa/main/colormac.h
+++ b/src/mesa/main/colormac.h
@@ -52,70 +52,25 @@ _mesa_u
The option was deprecated with commit 959e83d6507(clover: Adapt libclc's
INCLUDEDIR and LIBEXECDIR to make use of the new introduced libclc.pc.)
back in 2012 with mesa 9.2.
Cc: Tom Stellard
Signed-off-by: Emil Velikov
---
configure.ac | 13 -
1 file changed, 13 deletions(-)
diff --
On Mon, Mar 30, 2015 at 11:54 AM, Matt Turner wrote:
> On Sat, Mar 28, 2015 at 11:03 AM, Jason Ekstrand wrote:
>> On Fri, Mar 27, 2015 at 9:22 PM, Matt Turner wrote:
>>> The typical case of mat4*mat4*vec4 is 80 scalar multiplications, but
>>> mat4*(mat4*vec4) is only 32.
>>>
>>> On HSW (with vec
Connor Abbott writes:
> Unfortunately, we can't support unstructured COME FROM yet, since we
> can't structurize arbitrary control flow graphs. Also TODO is adding
> support for threading by having multiple come_from's point to the same
> unconditional branch, as well as various other INTERCAL fe
Yes, you are right. Thanks for the catch. I will send a fix patch to the
mailing list.
Laura
On Mon, Mar 30, 2015 at 7:10 PM, Ilia Mirkin wrote:
> On Wed, Feb 11, 2015 at 9:05 PM, Laura Ekstrand
> wrote:
> > for (i = 0; i < n; i++) {
> > - _mesa_HashInsert(ctx->Shared->BufferObjects
Feels silly giving R-b, so the series is (which I think is probably
sufficient for you to push)
Acked-by: Matt Turner
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
When an instruction has a side effect, it impacts the available options when
reordering an instruction. As the EOT flag is an implied write to the render
target in the FS, it can be considered a side effect.
This patch shouldn't actually have any impact on the current code since the EOT
flag impli
Certain platforms support the ability to sample from a texture, and write it out
to the file RT - thus saving a costly send instructions (note that this is a
potnential win if one wanted to backport to a tag that didn't have the patch
from Topi which removed excess MOVs from LOAD_PAYLOAD - 97caf5fa
On Mon, Mar 23, 2015 at 10:49 AM, Emil Velikov wrote:
> In case of using a distribution tarball (or a dirty git tree) one can
> have the generated sources locally. Make configure.ac error out
> otherwise, to alert that about the unmet requirement(s) of python/mako.
>
> Cc: Matt Turner
> Suggested
Note that gl_constants can be calculated without gl_context. It's how
the GL versions are calculated for GLX_MESA_query_renderer. There's
also pipe_screen that can be used to get the equivalent of
MaxRenderbufferSize.
Marek
On Wed, Apr 1, 2015 at 5:07 PM, Brian Paul wrote:
> On 04/01/2015 08:51
Series Reviewed-by: Mark Janes
Brian Paul writes:
> ---
> src/mesa/main/colormac.h | 45 -
> 1 file changed, 45 deletions(-)
>
> diff --git a/src/mesa/main/colormac.h b/src/mesa/main/colormac.h
> index bc69f46..33ca5af 100644
> --- a/src/mesa/main/co
Thanks. BTW, there's more #includes of colormac.h in the DRI drivers
that could probably be removed, but I don't have time to do that and
test them right now.
-Brian
On 04/01/2015 11:51 AM, Mark Janes wrote:
Series Reviewed-by: Mark Janes
Brian Paul writes:
---
src/mesa/main/colormac.
On Wed, Apr 1, 2015 at 11:39 AM, Roland Scheidegger wrote:
> Am 01.04.2015 um 15:50 schrieb Ilia Mirkin:
>> On Wed, Apr 1, 2015 at 7:09 AM, Roland Scheidegger
>> wrote:
>>> Am 01.04.2015 um 03:44 schrieb Rob Clark:
On Tue, Mar 31, 2015 at 9:03 PM, Roland Scheidegger
wrote:
> Am 0
On Tue, Mar 31, 2015 at 6:44 PM, Rob Clark wrote:
> On Tue, Mar 31, 2015 at 9:03 PM, Roland Scheidegger
> wrote:
>> So if this is not enough precision, maybe should state how large the
>> error can be?
>>
>
> tbh, if I knew what the error for this approach was, I would have
> included it. I'm n
On 01/04/15 15:07, Brian Paul wrote:
> On 04/01/2015 08:51 AM, Emil Velikov wrote:
>> Unused as of commit 630ab0d27ba(mesa: remove last of MAX_WIDTH,
>> MAX_HEIGHT). Update all the remaining references to the defines.
>>
>> XXX: Does the updated comments in xlib-libGL make sense, or should one
>> c
Ilia Mirkin found that I had forgotten to free the mutex in the error case.
---
src/mesa/main/bufferobj.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c
index b67e1c4..c7ef90b 100644
--- a/src/mesa/main/bufferobj.c
+++ b/src/mesa/main/buff
On 01/04/15 17:44, Matt Turner wrote:
> On Mon, Mar 23, 2015 at 10:49 AM, Emil Velikov
> wrote:
>> In case of using a distribution tarball (or a dirty git tree) one can
>> have the generated sources locally. Make configure.ac error out
>> otherwise, to alert that about the unmet requirement(s) of
On 04/01/2015 12:02 PM, Eric Anholt wrote:
Module: Mesa
Branch: master
Commit: 783ad697d25e754ab719ab6c715969c35dbe867b
URL:
https://urldefense.proofpoint.com/v2/url?u=http-3A__cgit.freedesktop.org_mesa_mesa_commit_-3Fid-3D783ad697d25e754ab719ab6c715969c35dbe867b&d=AwIGaQ&c=Sqcl0Ez6M0X8aeM67L
On Tue, Mar 31, 2015 at 11:04 AM, Matt Turner wrote:
> On Mon, Mar 23, 2015 at 8:43 PM, Jason Ekstrand wrote:
>> On Mon, Mar 23, 2015 at 8:34 PM, Matt Turner wrote:
>>> On Mon, Mar 23, 2015 at 8:13 PM, Jason Ekstrand
>>> wrote:
total instructions in shared programs: 4422307 -> 4422363 (0.
On 04/01/2015 12:49 PM, Brian Paul wrote:
On 04/01/2015 12:02 PM, Eric Anholt wrote:
Module: Mesa
Branch: master
Commit: 783ad697d25e754ab719ab6c715969c35dbe867b
URL:
https://urldefense.proofpoint.com/v2/url?u=http-3A__cgit.freedesktop.org_mesa_mesa_commit_-3Fid-3D783ad697d25e754ab719ab6c715969c
Reviewed-by: Ilia Mirkin
An alternative, btw, is to do a goto to the existing unlock. This
would have the advantage of keeping a single unlock, and a single
return path in the function. Your call, you get the R-b either way.
-ilia
On Wed, Apr 1, 2015 at 2:23 PM, Laura Ekstrand wrote:
> Ilia
On Wed, Apr 1, 2015 at 2:53 PM, Brian Paul wrote:
> On 04/01/2015 12:49 PM, Brian Paul wrote:
>>
>> On 04/01/2015 12:02 PM, Eric Anholt wrote:
>>>
>>> Module: Mesa
>>> Branch: master
>>> Commit: 783ad697d25e754ab719ab6c715969c35dbe867b
>>> URL:
>>>
>>> https://urldefense.proofpoint.com/v2/url?u=ht
Hmm, I don't trust myself with gotos yet because I still don't have much
experience writing them. So maybe I'll use them for a different patch
later.
On Wed, Apr 1, 2015 at 11:56 AM, Ilia Mirkin wrote:
> Reviewed-by: Ilia Mirkin
>
> An alternative, btw, is to do a goto to the existing unlock.
In case of using a distribution tarball (or a dirty git tree) one can
have the generated sources locally. Make configure.ac error out
otherwise, to alert that about the unmet requirement(s) of python/mako.
v2: Check only for a single file for each dependency.
Cc: Matt Turner
Suggested-by: Matt T
Signed-off-by: Emil Velikov
---
src/gallium/auxiliary/Makefile.sources | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/gallium/auxiliary/Makefile.sources
b/src/gallium/auxiliary/Makefile.sources
index bd8e949..ec7547c 100644
--- a/src/gallium/auxiliary/Makefile.sources
On 01/04/15 19:49, Brian Paul wrote:
On 04/01/2015 12:02 PM, Eric Anholt wrote:
Module: Mesa
Branch: master
Commit: 783ad697d25e754ab719ab6c715969c35dbe867b
URL:
https://urldefense.proofpoint.com/v2/url?u=http-3A__cgit.freedesktop.org_mesa_mesa_commit_-3Fid-3D783ad697d25e754ab719ab6c715969c35dbe
On Monday, March 09, 2015 05:17:56 PM Neil Roberts wrote:
> In Skylake the order of the arguments for sample messages with the LD
> type are u, v, lod, r whereas previously they were u, lod, v, r.
>
> This fixes 144 Piglit tests including ones that directly use
> texelFetch and also some using the
Feel free to just push changes like this.
Acked-by: Matt Turner
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
On Wed, Apr 1, 2015 at 12:04 PM, Emil Velikov wrote:
> In case of using a distribution tarball (or a dirty git tree) one can
> have the generated sources locally. Make configure.ac error out
> otherwise, to alert that about the unmet requirement(s) of python/mako.
>
> v2: Check only for a single f
Am 01.04.2015 um 20:11 schrieb Matt Turner:
> On Tue, Mar 31, 2015 at 6:44 PM, Rob Clark wrote:
>> On Tue, Mar 31, 2015 at 9:03 PM, Roland Scheidegger
>> wrote:
>>> So if this is not enough precision, maybe should state how large the
>>> error can be?
>>>
>>
>> tbh, if I knew what the error for
On 04/01/2015 01:15 PM, Jose Fonseca wrote:
On 01/04/15 19:49, Brian Paul wrote:
On 04/01/2015 12:02 PM, Eric Anholt wrote:
Module: Mesa
Branch: master
Commit: 783ad697d25e754ab719ab6c715969c35dbe867b
URL:
https://urldefense.proofpoint.com/v2/url?u=http-3A__cgit.freedesktop.org_mesa_mesa_commit
On 04/01/2015 12:21 PM, Emil Velikov wrote:
On 01/04/15 15:07, Brian Paul wrote:
On 04/01/2015 08:51 AM, Emil Velikov wrote:
Unused as of commit 630ab0d27ba(mesa: remove last of MAX_WIDTH,
MAX_HEIGHT). Update all the remaining references to the defines.
XXX: Does the updated comments in xlib-l
On 01/04/15 19:21, Matt Turner wrote:
> Feel free to just push changes like this.
>
> Acked-by: Matt Turner
>
Will do. Thanks.
-Emil
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
On 01/04/15 20:25, Brian Paul wrote:
On 04/01/2015 01:15 PM, Jose Fonseca wrote:
On 01/04/15 19:49, Brian Paul wrote:
On 04/01/2015 12:02 PM, Eric Anholt wrote:
Module: Mesa
Branch: master
Commit: 783ad697d25e754ab719ab6c715969c35dbe867b
URL:
https://urldefense.proofpoint.com/v2/url?u=http-3A_
On Wednesday, April 01, 2015 10:39:16 AM Ben Widawsky wrote:
> When an instruction has a side effect, it impacts the available options when
> reordering an instruction. As the EOT flag is an implied write to the render
> target in the FS, it can be considered a side effect.
>
> This patch shouldn'
On Wednesday, April 01, 2015 10:39:17 AM Ben Widawsky wrote:
> Certain platforms support the ability to sample from a texture, and write it
> out
> to the file RT - thus saving a costly send instructions (note that this is a
> potnential win if one wanted to backport to a tag that didn't have the
On Wed, Apr 1, 2015 at 10:39 AM, Ben Widawsky
wrote:
> When an instruction has a side effect, it impacts the available options when
> reordering an instruction. As the EOT flag is an implied write to the render
> target in the FS, it can be considered a side effect.
>
> This patch shouldn't actual
Signed-off-by: Ilia Mirkin
---
src/mesa/main/version.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/mesa/main/version.c b/src/mesa/main/version.c
index 8e0c3ef..7c6d994 100644
--- a/src/mesa/main/version.c
+++ b/src/mesa/main/version.c
@@ -382,6 +382,7 @@ compute_version_es2(const stru
Reviewed-by: Matt Turner
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
This is a follow-on fix from the earlier "glsl: allow ForceGLSLVersion
to override #version directives" change. Since we're not changing
the language_version field, we have to check forced_language_version
here.
---
src/glsl/glsl_parser_extras.h | 4 +++-
1 file changed, 3 insertions(+), 1 deleti
Jason Ekstrand writes:
> Module: Mesa
> Branch: master
> Commit: 793a94d6b5fc589ca8d7475347def4e222cd3d7c
> URL:
> http://cgit.freedesktop.org/mesa/mesa/commit/?id=793a94d6b5fc589ca8d7475347def4e222cd3d7c
>
> Author: Jason Ekstrand
> Date: Mon Mar 23 18:20:21 2015 -0700
>
> nir/print: Don'
On Wed, Apr 1, 2015 at 4:44 PM, Eric Anholt wrote:
> Jason Ekstrand writes:
>
>> Module: Mesa
>> Branch: master
>> Commit: 793a94d6b5fc589ca8d7475347def4e222cd3d7c
>> URL:
>> http://cgit.freedesktop.org/mesa/mesa/commit/?id=793a94d6b5fc589ca8d7475347def4e222cd3d7c
>>
>> Author: Jason Ekstrand
Rob Clark writes:
> From: Rob Clark
>
> Freedreno and vc4 want this behavior for the time being (until we have
> real flow control). Even after that, we probably want to turn this into
> some sort of driver tunable threshold, since for at least some hardware,
> reasonably large if/else is best
https://bugs.freedesktop.org/show_bug.cgi?id=86326
--- Comment #12 from Tom Stellard ---
(In reply to Tom Stellard from comment #11)
> Are these these same patches you sent to the mailing list?
Do you have any interest in fixing up these patches? If not, I may give it a
try.
--
You are receiv
So far we'd only used nir_builder to build brand new programs. But if
we're doing modifications to instructions (like in a lowering pass), then
we want to generate new stuff before the instruction we're modifying.
---
src/glsl/nir/nir_builder.h | 27 +++
1 file changed, 23
Not much hardware wants them these days, and it might give us a chance to
do CSE or algebraic at the NIR level.
---
I wrote this originally for vc4, but I'm not sure I'm going to turn it
on -- I'm using a non-Newton-Raphson RCP in my TXP handling right now,
and if I do this pass then I get the N-R
This only impacts the ARB_fp path. We can't quite disable the GLSL-level
lowering pass, because it needs to apply before
brw_do_lower_unnormalized_offset().
---
Note: I haven't fully piglited this. It sounds like there are nice
automated systems for regression testing now.
src/mesa/drivers/dri/
We use nir_ssa_defs for nir_builder args, so this takes a nir_src and
makes one so it can be passed in.
---
src/glsl/nir/nir_builder.h | 19 +++
1 file changed, 19 insertions(+)
diff --git a/src/glsl/nir/nir_builder.h b/src/glsl/nir/nir_builder.h
index ecbdbe3..587d014 100644
---
On Tue, Mar 31, 2015 at 4:10 PM, Ilia Mirkin wrote:
> On Tue, Mar 31, 2015 at 6:57 PM, Rob Clark wrote:
>> From: Rob Clark
>>
>> Signed-off-by: Rob Clark
>> ---
>> src/glsl/nir/nir_opcodes.py | 4 ++--
>> 1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/src/glsl/nir/nir_opcod
On Tue, Mar 31, 2015 at 3:57 PM, Rob Clark wrote:
> From: Rob Clark
>
> Freedreno and vc4 want this behavior for the time being (until we have
> real flow control). Even after that, we probably want to turn this into
> some sort of driver tunable threshold, since for at least some hardware,
> re
On Wed, Apr 1, 2015 at 1:52 PM, Connor Abbott wrote:
> On Wed, Apr 1, 2015 at 4:44 PM, Eric Anholt wrote:
>> Jason Ekstrand writes:
>>
>>> Module: Mesa
>>> Branch: master
>>> Commit: 793a94d6b5fc589ca8d7475347def4e222cd3d7c
>>> URL:
>>> http://cgit.freedesktop.org/mesa/mesa/commit/?id=793a94
On Wed, Apr 1, 2015 at 6:49 PM, Jason Ekstrand wrote:
> On Tue, Mar 31, 2015 at 4:10 PM, Ilia Mirkin wrote:
>> On Tue, Mar 31, 2015 at 6:57 PM, Rob Clark wrote:
>>> From: Rob Clark
>>>
>>> Signed-off-by: Rob Clark
>>> ---
>>> src/glsl/nir/nir_opcodes.py | 4 ++--
>>> 1 file changed, 2 inserti
---
src/glsl/nir/nir_print.c | 24
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/src/glsl/nir/nir_print.c b/src/glsl/nir/nir_print.c
index 53fada8..fb8c934 100644
--- a/src/glsl/nir/nir_print.c
+++ b/src/glsl/nir/nir_print.c
@@ -137,21 +137,21 @@ print_de
---
src/mesa/drivers/dri/i965/brw_fs_generator.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mesa/drivers/dri/i965/brw_fs_generator.cpp
b/src/mesa/drivers/dri/i965/brw_fs_generator.cpp
index f88c041..4f39f73 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_generator.cpp
On Wed, Apr 1, 2015 at 6:56 PM, Jason Ekstrand wrote:
> On Tue, Mar 31, 2015 at 3:57 PM, Rob Clark wrote:
>> From: Rob Clark
>>
>> Freedreno and vc4 want this behavior for the time being (until we have
>> real flow control). Even after that, we probably want to turn this into
>> some sort of dr
I think it might be better here if we had a callback that backends can
fill in that tells you when an instruction can be pulled out by the
sel peephole. As Jason noted, you won't be able to do this for
everything (notably, output writes and variable writes) and we'll
probably need special handling
On Wed, Apr 1, 2015 at 4:20 PM, Rob Clark wrote:
> On Wed, Apr 1, 2015 at 6:56 PM, Jason Ekstrand wrote:
>> On Tue, Mar 31, 2015 at 3:57 PM, Rob Clark wrote:
>>> From: Rob Clark
>>>
>>> Freedreno and vc4 want this behavior for the time being (until we have
>>> real flow control). Even after th
Reviewed-by: Connor Abbott
On Wed, Apr 1, 2015 at 7:17 PM, Jason Ekstrand wrote:
> ---
> src/glsl/nir/nir_print.c | 24
> 1 file changed, 12 insertions(+), 12 deletions(-)
>
> diff --git a/src/glsl/nir/nir_print.c b/src/glsl/nir/nir_print.c
> index 53fada8..fb8c934 1006
1 - 100 of 131 matches
Mail list logo