On Fri, Feb 5, 2016 at 1:55 AM, Matt Turner wrote:
> On Thu, Feb 4, 2016 at 10:50 AM, Marek Olšák wrote:
>> From: Marek Olšák
>>
>> This is a subset of the generated tests which are known to fail
>> on everything except CPU emulation (AFAIK).
>> ---
>
> This is really awful. Committing a generat
Hi Simon,
On 05.02.2016 01:12, Simon Pilgrim via llvm-commits wrote:
> Author: rksimon
> Date: Thu Feb 4 10:12:56 2016
> New Revision: 259796
>
> URL: http://llvm.org/viewvc/llvm-project?rev=259796&view=rev
> Log:
> [X86][SSE] Add general 32-bit LOAD + VZEXT_MOVL support to
> EltsFromConsecut
For the series:
Reviewed-by: Marek Olšák
Marek
On Wed, Feb 3, 2016 at 6:09 PM, Nicolai Hähnle wrote:
> From: Nicolai Hähnle
>
> Also fixes a resource leak when an upload_mgr is used for constants.
> ---
> src/mesa/state_tracker/st_cb_texture.c | 6 ++
> 1 file changed, 6 insertions(+)
>
For the series:
Reviewed-by: Marek Olšák
Marek
On Thu, Feb 4, 2016 at 10:02 PM, Tom Stellard wrote:
> This functionality is not exposed via the LLVM C API.
> ---
> src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 30
> +++
> src/gallium/auxiliary/gallivm/lp_bld_misc.h
On Fri, Feb 5, 2016 at 1:11 AM, Jan Vesely wrote:
> On Thu, 2016-02-04 at 15:56 -0500, Jan Vesely wrote:
>> r600_compute_buffer_alloc_vram uses pipe_buffer_create, which sets
>> format to
>> PIPE_FORMAT_R8_UNORM
>
> RFC:
> Looks like more is needed to fix this. the code expects R32 format.
> Do we
For the series:
Reviewed-by: Marek Olšák
Marek
On Fri, Feb 5, 2016 at 7:16 AM, Ilia Mirkin wrote:
> Both st/mesa and i965 should return a true/false result now, and the
> only other driver implementing queries (radeon) doesn't support
> ARB_occlusion_query2 which added that pname.
>
> Signed-of
This won't fly because you forgot to add PIPE_QUERY_OCCLUSION_PREDICATE
in many places in nv50_query_hw.c (begin_query(), end_query()...).
On 02/04/2016 06:52 PM, Ilia Mirkin wrote:
Signed-off-by: Ilia Mirkin
---
src/gallium/drivers/nouveau/nv50/nv50_query_hw.c | 3 +++
1 file changed, 3 in
Handle the case of ARB_framebuffer_no_attachment.
Also, kill off a dead debug printf() call while we are here.
Signed-off-by: Edward O'Callaghan
Reviewed-by: Ilia Mirkin
---
src/mesa/state_tracker/st_atom_framebuffer.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/
Add PIPE_CAP to determine the number of layers for
a framebuffer for GL_ARB_framebuffer_no_attachments.
Signed-off-by: Edward O'Callaghan
---
src/gallium/docs/source/screen.rst | 2 ++
src/gallium/drivers/freedreno/freedreno_screen.c | 1 +
src/gallium/drivers/i915/i915_screen.c
Signed-off-by: Edward O'Callaghan
Reviewed-by: Ilia Mirkin
---
src/gallium/drivers/trace/tr_dump_state.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/gallium/drivers/trace/tr_dump_state.c
b/src/gallium/drivers/trace/tr_dump_state.c
index cfbf53c..aaa637a 100644
--- a/src/gallium/dr
Here we store the number of samples and layers directly in the
pipe_framebuffer_state so that in the case of
ARB_framebuffer_no_attachment we may make use of them directly.
Further, we adjust various gallium/auxiliary helper functions
accordingly.
Signed-off-by: Edward O'Callaghan
Reviewed-by: I
Signed-off-by: Edward O'Callaghan
---
docs/GL3.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/GL3.txt b/docs/GL3.txt
index 257fc73..350462f 100644
--- a/docs/GL3.txt
+++ b/docs/GL3.txt
@@ -157,7 +157,7 @@ GL 4.3, GLSL 4.30:
GL_KHR_debug
From: Ilia Mirkin
Signed-off-by: Ilia Mirkin
Reviewed-by: Edward O'Callaghan
---
src/gallium/drivers/nouveau/nvc0/nvc0_program.c| 7 +++
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 2 +-
src/gallium/drivers/nouveau/nvc0/nvc0_state.c | 2 ++
src/gallium/driv
Signed-off-by: Edward O'Callaghan
---
src/gallium/drivers/r600/r600_pipe.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/gallium/drivers/r600/r600_pipe.c
b/src/gallium/drivers/r600/r600_pipe.c
index 36297f3..28b34de 100644
--- a/src/gallium/drivers/r600/r600_pipe.c
+
Signed-off-by: Edward O'Callaghan
---
src/gallium/drivers/radeonsi/si_pipe.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/gallium/drivers/radeonsi/si_pipe.c
b/src/gallium/drivers/radeonsi/si_pipe.c
index d3f3677..a58a9d5 100644
--- a/src/gallium/drivers/radeonsi/si_
Change references to gl_framebuffer::Width, Height, MaxNumLayers
and Visual::samples to use the _mesa_geometric_ convenience functions
for those places where the geometry of the gl_framebuffer is needed.
This is in contrast to the geometry of the intersection of the
attachments of the gl_framebuffe
On Thu, Feb 04, 2016 at 06:14:02PM +, Kibey, Sameer wrote:
> Updated the list-workarounds script so that it
> can parse Mesa directory if provided. Moved the
> common code to a separate function to allow
> reuse for both kernel and mesa.
>
> The new command line is:
> Usage: list-workarounds [
On 04.02.2016 13:52, Tom Stellard wrote:
On Thu, Feb 04, 2016 at 09:15:26AM +0100, Nicolai Hähnle wrote:
From: Nicolai Hähnle
Set R600_DEBUG=preoptir to dump the LLVM IR before optimization passes,
to allow diagnosing problems caused by optimization passes.
Note that in order to compile the r
On Fri, Feb 5, 2016 at 2:55 PM, Nicolai Hähnle wrote:
> On 04.02.2016 13:52, Tom Stellard wrote:
>>
>> On Thu, Feb 04, 2016 at 09:15:26AM +0100, Nicolai Hähnle wrote:
>>>
>>> From: Nicolai Hähnle
>>>
>>> Set R600_DEBUG=preoptir to dump the LLVM IR before optimization passes,
>>> to allow diagnosi
Did I? I thought it was already there, and just forgotten here. Will
recheck.
On Feb 5, 2016 5:37 AM, "Samuel Pitoiset" wrote:
> This won't fly because you forgot to add PIPE_QUERY_OCCLUSION_PREDICATE in
> many places in nv50_query_hw.c (begin_query(), end_query()...).
>
> On 02/04/2016 06:52 PM,
Oh, I found that Iago replied to this series before [0] and he is
right. Please ignore my two R-b for the patches of this series.
Sam
[0] http://lists.freedesktop.org/archives/mesa-dev/2016-February/106396
.html
On Thu, 2016-02-04 at 16:16 +0100, Samuel Iglesias Gonsálvez wrote:
> On Wed, 2016-0
On Fri, Feb 5, 2016 at 10:57 AM, Marek Olšák wrote:
> On Fri, Feb 5, 2016 at 1:55 AM, Matt Turner wrote:
>> On Thu, Feb 4, 2016 at 10:50 AM, Marek Olšák wrote:
>>> From: Marek Olšák
>>>
>>> This is a subset of the generated tests which are known to fail
>>> on everything except CPU emulation (A
Am 05.02.2016 um 15:44 schrieb Marek Olšák:
> On Fri, Feb 5, 2016 at 10:57 AM, Marek Olšák wrote:
>> On Fri, Feb 5, 2016 at 1:55 AM, Matt Turner wrote:
>>> On Thu, Feb 4, 2016 at 10:50 AM, Marek Olšák wrote:
From: Marek Olšák
This is a subset of the generated tests which are know
On Fri, Feb 05, 2016 at 08:55:17AM -0500, Nicolai Hähnle wrote:
> On 04.02.2016 13:52, Tom Stellard wrote:
> > On Thu, Feb 04, 2016 at 09:15:26AM +0100, Nicolai Hähnle wrote:
> >> From: Nicolai Hähnle
> >>
> >> Set R600_DEBUG=preoptir to dump the LLVM IR before optimization passes,
> >> to allow d
So... it seems like you've rejected all the feedback that you
received, at least on patches 1 and 3. Any explanation for that?
Pretty sure some of the things I pointed out were legitimate.
On Fri, Feb 5, 2016 at 6:44 AM, Edward O'Callaghan
wrote:
> Add PIPE_CAP to determine the number of layers f
On Thu, Feb 04, 2016 at 02:42:15PM -0800, Matt Arsenault wrote:
>
> > On Feb 4, 2016, at 13:02, Tom Stellard wrote:
> >
> > + LLVMSetTarget(ctx->gallivm.module,
> > +
> > +#if HAVE_LLVM < 0x0306
> > + "r600--");
> > +#else
> > + triple);
> > +#endif
>
> Thi
On Fri, Feb 5, 2016 at 3:56 PM, Roland Scheidegger wrote:
> Am 05.02.2016 um 15:44 schrieb Marek Olšák:
>> On Fri, Feb 5, 2016 at 10:57 AM, Marek Olšák wrote:
>>> On Fri, Feb 5, 2016 at 1:55 AM, Matt Turner wrote:
On Thu, Feb 4, 2016 at 10:50 AM, Marek Olšák wrote:
> From: Marek Olšák
On 02/05/2016 04:44 AM, Edward O'Callaghan wrote:
Add PIPE_CAP to determine the number of layers for
a framebuffer for GL_ARB_framebuffer_no_attachments.
Signed-off-by: Edward O'Callaghan
---
src/gallium/docs/source/screen.rst | 2 ++
src/gallium/drivers/freedreno/freedreno_sc
Am 05.02.2016 um 16:08 schrieb Marek Olšák:
> On Fri, Feb 5, 2016 at 3:56 PM, Roland Scheidegger wrote:
>> Am 05.02.2016 um 15:44 schrieb Marek Olšák:
>>> On Fri, Feb 5, 2016 at 10:57 AM, Marek Olšák wrote:
On Fri, Feb 5, 2016 at 1:55 AM, Matt Turner wrote:
> On Thu, Feb 4, 2016 at 10:5
On Fri, Feb 5, 2016 at 4:48 PM, Roland Scheidegger wrote:
> Am 05.02.2016 um 16:08 schrieb Marek Olšák:
>> On Fri, Feb 5, 2016 at 3:56 PM, Roland Scheidegger
>> wrote:
>>> Am 05.02.2016 um 15:44 schrieb Marek Olšák:
On Fri, Feb 5, 2016 at 10:57 AM, Marek Olšák wrote:
> On Fri, Feb 5, 2
On Fri, Feb 5, 2016 at 10:48 AM, Roland Scheidegger wrote:
> But I think you're right glsl shouldn't require them (albeit it is
> pretty silent on that topic as far as I can tell - certainly doesn't
> require them for fp32).
Perhaps it doesn't require them, but at least Unigine Heaven 4.0
misrend
Please update the release notes as well.
Marek
On Fri, Feb 5, 2016 at 12:44 PM, Edward O'Callaghan
wrote:
> Signed-off-by: Edward O'Callaghan
> ---
> docs/GL3.txt | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/docs/GL3.txt b/docs/GL3.txt
> index 257fc73..350462f 10064
Hey Dave,
can you mention
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=92059
A large part of the problems with Middle-earth: Shadow of Mordor stem from
radeonsi not having AoA, which should be fixed by this, right?
Cheers,
Kai
Dave Airlie wrote on 05.02.2016 04:40:
> From: Dave Airl
On Fri, Feb 5, 2016 at 12:44 PM, Edward O'Callaghan
wrote:
> Here we store the number of samples and layers directly in the
> pipe_framebuffer_state so that in the case of
> ARB_framebuffer_no_attachment we may make use of them directly.
>
> Further, we adjust various gallium/auxiliary helper func
On Fri, Feb 5, 2016 at 12:44 PM, Edward O'Callaghan
wrote:
> Signed-off-by: Edward O'Callaghan
> ---
> src/gallium/drivers/radeonsi/si_pipe.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/src/gallium/drivers/radeonsi/si_pipe.c
> b/src/gallium/drivers/radeonsi/si_pi
On Fri, Feb 5, 2016 at 11:43 AM, Marek Olšák wrote:
> On Fri, Feb 5, 2016 at 12:44 PM, Edward O'Callaghan
> wrote:
>> Signed-off-by: Edward O'Callaghan
>> ---
>> src/gallium/drivers/radeonsi/si_pipe.c | 4 +++-
>> 1 file changed, 3 insertions(+), 1 deletion(-)
>>
>> diff --git a/src/gallium/dri
On Fri, Feb 5, 2016 at 5:46 PM, Ilia Mirkin wrote:
> On Fri, Feb 5, 2016 at 11:43 AM, Marek Olšák wrote:
>> On Fri, Feb 5, 2016 at 12:44 PM, Edward O'Callaghan
>> wrote:
>>> Signed-off-by: Edward O'Callaghan
>>> ---
>>> src/gallium/drivers/radeonsi/si_pipe.c | 4 +++-
>>> 1 file changed, 3 ins
Fixes compute since 7dd31b81fee7fe40bd09cf3fbc324fcc32782479
gallium/radeon: support PIPE_CAP_SURFACE_REINTERPRET_BLOCKS
Signed-off-by: Jan Vesely
---
src/gallium/drivers/radeon/r600_texture.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/radeon/r600_tex
On Fri, Feb 5, 2016 at 6:44 AM, Edward O'Callaghan
wrote:
> Here we store the number of samples and layers directly in the
> pipe_framebuffer_state so that in the case of
> ARB_framebuffer_no_attachment we may make use of them directly.
>
> Further, we adjust various gallium/auxiliary helper funct
Am 05.02.2016 um 17:04 schrieb Marek Olšák:
> On Fri, Feb 5, 2016 at 4:48 PM, Roland Scheidegger wrote:
>> Am 05.02.2016 um 16:08 schrieb Marek Olšák:
>>> On Fri, Feb 5, 2016 at 3:56 PM, Roland Scheidegger
>>> wrote:
Am 05.02.2016 um 15:44 schrieb Marek Olšák:
> On Fri, Feb 5, 2016 at 1
On Fri, Feb 5, 2016 at 6:44 AM, Edward O'Callaghan
wrote:
> Handle the case of ARB_framebuffer_no_attachment.
> Also, kill off a dead debug printf() call while we are here.
>
> Signed-off-by: Edward O'Callaghan
> Reviewed-by: Ilia Mirkin
You did the full piglit run like I asked before sticking
On Fri, Feb 5, 2016 at 7:11 PM, Roland Scheidegger wrote:
> Am 05.02.2016 um 17:04 schrieb Marek Olšák:
>> On Fri, Feb 5, 2016 at 4:48 PM, Roland Scheidegger
>> wrote:
>>> Am 05.02.2016 um 16:08 schrieb Marek Olšák:
On Fri, Feb 5, 2016 at 3:56 PM, Roland Scheidegger
wrote:
> Am 0
> -Original Message-
> From: Lespiau, Damien
> Sent: Friday, February 05, 2016 4:16 AM
> To: Kibey, Sameer
> Cc: intel-...@lists.freedesktop.org; mesa-dev@lists.freedesktop.org; Sharp,
> Sarah A; Widawsky, Benjamin
> Subject: Re: [PATCH] list-workarounds: Extend the script to Mesa
>
> On
Hi,
This is the last part of restructuring needed for having one shader variant per
shader.
Summary:
- a lot of changes are about PS inputs and interpolation
- code movements, cleanups
Behavior changes:
- removed unnecessary MRT_NULL exports
- geometry shaders aren't compiled on demand
Please
From: Marek Olšák
This will be re-used later.
---
src/gallium/drivers/radeonsi/si_shader.c | 103 ++-
1 file changed, 60 insertions(+), 43 deletions(-)
diff --git a/src/gallium/drivers/radeonsi/si_shader.c
b/src/gallium/drivers/radeonsi/si_shader.c
index d9ed6b2..d7
From: Marek Olšák
BCOLOR inputs were immediately after COLOR inputs. Thus, all following inputs
were offset by 1 if color_two_side was enabled, and not offset if it was not
enabled, which is a variation that's problematic if we want to have 1 variant
per shader and the variant doesn't care about
From: Marek Olšák
---
src/gallium/drivers/radeonsi/si_state_shaders.c | 74 +
1 file changed, 40 insertions(+), 34 deletions(-)
diff --git a/src/gallium/drivers/radeonsi/si_state_shaders.c
b/src/gallium/drivers/radeonsi/si_state_shaders.c
index 8613af2..fbe0e37 100644
-
From: Marek Olšák
It was partly a state and partly emulated by shader code, but since we want
to do this in a fragment shader prolog, we need to put it into the shader
key, which will be used to generate the prolog.
This also removes the spi_ps_input states and moves the registers
to the PS stat
From: Marek Olšák
---
src/gallium/drivers/radeonsi/si_shader.c | 11 ---
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/src/gallium/drivers/radeonsi/si_shader.c
b/src/gallium/drivers/radeonsi/si_shader.c
index d9006bc..68ce387 100644
--- a/src/gallium/drivers/radeonsi/si_
From: Marek Olšák
tgsi_shader_info has this too.
---
src/gallium/drivers/radeonsi/si_shader.c | 8 +++-
src/gallium/drivers/radeonsi/si_shader.h | 1 -
2 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/src/gallium/drivers/radeonsi/si_shader.c
b/src/gallium/drivers/radeonsi/si_s
From: Marek Olšák
This will be used by the fragment shader prolog.
---
src/gallium/drivers/radeonsi/si_shader.c | 127 +--
1 file changed, 71 insertions(+), 56 deletions(-)
diff --git a/src/gallium/drivers/radeonsi/si_shader.c
b/src/gallium/drivers/radeonsi/si_shade
From: Marek Olšák
"enable-no-nans-fp-math" is a wrong string and there was a disagreement
about fixing it.
---
src/gallium/drivers/radeonsi/si_shader.c| 7 ---
src/gallium/drivers/radeonsi/si_shader.h| 1 -
src/gallium/drivers/radeonsi/si_state_shaders.c | 12 ++--
From: Marek Olšák
---
src/gallium/drivers/radeonsi/si_shader.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/src/gallium/drivers/radeonsi/si_shader.c
b/src/gallium/drivers/radeonsi/si_shader.c
index 85203e0..bd45d4a 100644
--- a/src/gallium/drivers/radeonsi/si_shader.c
+++ b/src/ga
From: Marek Olšák
---
src/gallium/drivers/radeonsi/si_shader.c | 63 +---
1 file changed, 50 insertions(+), 13 deletions(-)
diff --git a/src/gallium/drivers/radeonsi/si_shader.c
b/src/gallium/drivers/radeonsi/si_shader.c
index bd45d4a..18e4ab9 100644
--- a/src/galli
From: Marek Olšák
---
src/gallium/drivers/radeonsi/si_shader.c| 5 -
src/gallium/drivers/radeonsi/si_shader.h| 1 +
src/gallium/drivers/radeonsi/si_state_shaders.c | 3 ++-
3 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/gallium/drivers/radeonsi/si_shader.c
From: Marek Olšák
---
src/gallium/drivers/radeonsi/si_compute.c | 3 ++-
src/gallium/drivers/radeonsi/si_shader.c | 18 +++---
src/gallium/drivers/radeonsi/si_shader.h | 3 ++-
3 files changed, 15 insertions(+), 9 deletions(-)
diff --git a/src/gallium/drivers/radeonsi/si_compute
From: Marek Olšák
---
src/gallium/drivers/radeonsi/si_shader.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/gallium/drivers/radeonsi/si_shader.c
b/src/gallium/drivers/radeonsi/si_shader.c
index b28e1d7..c19e4a9 100644
--- a/src/gallium/drivers/radeonsi/si_s
From: Marek Olšák
---
src/gallium/drivers/radeonsi/si_state_shaders.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/radeonsi/si_state_shaders.c
b/src/gallium/drivers/radeonsi/si_state_shaders.c
index bbef429..8613af2 100644
--- a/src/gallium/drivers/rad
From: Marek Olšák
they have only 1 variant
---
src/gallium/drivers/radeonsi/si_state_shaders.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/gallium/drivers/radeonsi/si_state_shaders.c
b/src/gallium/drivers/radeonsi/si_state_shaders.c
index 8d7ceaa..bc00ec2 100644
--
From: Marek Olšák
This will be used for setting the new InitialPSInputAddr attribute.
---
src/gallium/drivers/radeon/radeon_llvm_emit.c | 13 +
src/gallium/drivers/radeon/radeon_llvm_emit.h | 1 +
2 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/src/gallium/drivers/ra
From: Marek Olšák
---
src/gallium/drivers/radeonsi/si_state_shaders.c | 65 ++---
1 file changed, 36 insertions(+), 29 deletions(-)
diff --git a/src/gallium/drivers/radeonsi/si_state_shaders.c
b/src/gallium/drivers/radeonsi/si_state_shaders.c
index 802225c..8d7ceaa 100644
-
From: Marek Olšák
---
src/gallium/drivers/radeonsi/si_shader.c | 30 +-
1 file changed, 21 insertions(+), 9 deletions(-)
diff --git a/src/gallium/drivers/radeonsi/si_shader.c
b/src/gallium/drivers/radeonsi/si_shader.c
index 6379ba4..0f10460 100644
--- a/src/gallium/
Pushed, thanks.
Marek
On Fri, Feb 5, 2016 at 6:01 PM, Jan Vesely wrote:
> Fixes compute since 7dd31b81fee7fe40bd09cf3fbc324fcc32782479
> gallium/radeon: support PIPE_CAP_SURFACE_REINTERPRET_BLOCKS
>
> Signed-off-by: Jan Vesely
> ---
> src/gallium/drivers/radeon/r600_texture.c | 2 +-
> 1 file
On 12/24/2015 01:04 PM, Anuj Phogat wrote:
> OpenGL ES 1.0 doesn't support using GL_STREAM_DRAW and both
> ES 1.0 and 2.0 don't support GL_STREAM_READ in glBufferData().
> So, handle it correctly by calling the _mesa_meta_begin()
> before create_texture_for_pbo().
>
> Cc: "11.1"
> Signed-off-by:
Hi,
On 04.02.2016 17:25, Marek Olšák wrote:
I would like to start a discussion about an OpenGL-OpenCL interop
interface where OpenCL is not part of Mesa.
I think the only way to do this is to have Mesa export functions that
convert Mesa OpenGL objects into DMABUF handles. Such functions can be
On 01/30/2016 06:48 AM, Marek Olšák wrote:
> From: Marek Olšák
>
> ---
> src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 4
> 1 file changed, 4 insertions(+)
>
> diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
> b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
> index d98627f..8a194c0 10
On 05.02.2016 10:31, Brian Paul wrote:
On 02/05/2016 04:44 AM, Edward O'Callaghan wrote:
Add PIPE_CAP to determine the number of layers for
a framebuffer for GL_ARB_framebuffer_no_attachments.
Signed-off-by: Edward O'Callaghan
---
src/gallium/docs/source/screen.rst | 2 ++
sr
On 01/30/2016 06:48 AM, Marek Olšák wrote:
> From: Marek Olšák
>
> to allow LinkShader to free the GLSL IR.
> ---
> src/compiler/glsl/program.h| 5 -
> src/mesa/drivers/dri/i965/brw_link.cpp | 2 ++
I think i915 should get the same treatment, right? Or does it pick it
up
On 02/05/2016 08:04 AM, Marek Olšák wrote:
> On Fri, Feb 5, 2016 at 4:48 PM, Roland Scheidegger wrote:
>> Am 05.02.2016 um 16:08 schrieb Marek Olšák:
>>> On Fri, Feb 5, 2016 at 3:56 PM, Roland Scheidegger
>>> wrote:
Am 05.02.2016 um 15:44 schrieb Marek Olšák:
> On Fri, Feb 5, 2016 at 10
On 02/04/2016 07:54 AM, Ilia Mirkin wrote:
> On Thu, Feb 4, 2016 at 10:50 AM, Emil Velikov
> wrote:
>> Hi Ilia,
>>
>> On 3 February 2016 at 14:52, Ilia Mirkin wrote:
>>> The EXT spec has been updated to:
>>> - logically combine the es2_profile and es_profile exts
>>> - allow any legal version
On Fri, Feb 5, 2016 at 8:46 PM, Ian Romanick wrote:
> On 01/30/2016 06:48 AM, Marek Olšák wrote:
>> From: Marek Olšák
>>
>> ---
>> src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 4
>> 1 file changed, 4 insertions(+)
>>
>> diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
>> b/src/mesa/
On 05.02.2016 14:20, Marek Olšák wrote:
From: Marek Olšák
---
src/gallium/drivers/radeonsi/si_state_shaders.c | 74 +
1 file changed, 40 insertions(+), 34 deletions(-)
diff --git a/src/gallium/drivers/radeonsi/si_state_shaders.c
b/src/gallium/drivers/radeonsi/si_sta
From: Ian Romanick
Nothing left in meta does anything with the RBO binding, so we don't
need to save or restore it. The FBO binding is still modified.
Signed-off-by: Ian Romanick
---
src/mesa/drivers/common/meta.c | 6 --
src/mesa/drivers/common/meta.h | 2 +-
2 files changed, 1 insertion
From: Ian Romanick
This has the advantage that it does not pollute the global binding
state. It also enables later patches that will stop calling
_mesa_GenRenderbuffers / _mesa_CreateRenderbuffers which pollute the
renderbuffer namespace.
Signed-off-by: Ian Romanick
---
src/mesa/drivers/dri/i
From: Ian Romanick
This function previously was only used in fbobject.c and contained a
bunch of API validation. Split the function into
framebuffer_renderbuffer that is static and contains the validation, and
_mesa_framebuffer_renderbuffer that is suitable for calling from
elsewhere in Mesa (e.
From: Ian Romanick
Signed-off-by: Ian Romanick
---
src/mesa/drivers/common/meta.c| 10 --
src/mesa/drivers/common/meta_copy_image.c | 12
2 files changed, 8 insertions(+), 14 deletions(-)
diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/met
From: Ian Romanick
This has the advantage that it does not pollute the global binding
state. It also enables later patches that will stop calling
_mesa_GenRenderbuffers / _mesa_CreateRenderbuffers which pollute the
renderbuffer namespace.
Signed-off-by: Ian Romanick
---
src/mesa/drivers/commo
From: Ian Romanick
tl;dr: For many types of GL object, we can *NEVER* use the Gen function.
In OpenGL ES (all versions!) and OpenGL compatibility profile,
applications don't have to call Gen functions. The GL spec is very
clear about how you can mix-and-match generated names and non-generated
n
From: Ian Romanick
tl;dr: For many types of GL object, we can *NEVER* use the Gen function.
In OpenGL ES (all versions!) and OpenGL compatibility profile,
applications don't have to call Gen functions. The GL spec is very
clear about how you can mix-and-match generated names and non-generated
n
From: Ian Romanick
Signed-off-by: Ian Romanick
---
src/mesa/drivers/dri/i965/brw_meta_fast_clear.c | 5 ++---
src/mesa/drivers/dri/i965/brw_meta_stencil_blit.c | 8
src/mesa/drivers/dri/i965/brw_meta_updownsample.c | 6 ++
3 files changed, 8 insertions(+), 11 deletions(-)
diff -
From: Ian Romanick
Signed-off-by: Ian Romanick
---
src/mesa/drivers/dri/i965/brw_context.h | 7 ---
src/mesa/drivers/dri/i965/brw_meta_fast_clear.c | 9 +
src/mesa/drivers/dri/i965/brw_meta_stencil_blit.c | 18 ++
src/mesa/drivers/dri/i965/brw_meta_updo
From: Ian Romanick
Pulls the parts of renderbuffer_storage that aren't just parameter
validation out into a function that can be called from other parts of
Mesa (e.g., meta).
Signed-off-by: Ian Romanick
---
src/mesa/main/fbobject.c | 97 +---
src/mes
From: Ian Romanick
Signed-off-by: Ian Romanick
---
src/mesa/drivers/common/meta.c | 13 +
src/mesa/drivers/common/meta.h | 3 ++-
2 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c
index b42a3cf..217d376 1
the state tracker will use it
---
src/mesa/drivers/common/driverfuncs.c | 3 +++
src/mesa/main/atifragshader.c | 13 -
src/mesa/main/dd.h| 7 ++-
src/mesa/main/mtypes.h| 1 +
src/mesa/main/state.c | 14 +-
5
v2: comment about the purpose of the code
---
src/mesa/main/teximage.c | 32
1 file changed, 32 insertions(+)
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c
index 50141be..cac05d5 100644
--- a/src/mesa/main/teximage.c
+++ b/src/mesa/main/teximage
On 05.02.2016 14:20, Marek Olšák wrote:
From: Marek Olšák
---
src/gallium/drivers/radeonsi/si_shader.c | 63 +---
1 file changed, 50 insertions(+), 13 deletions(-)
diff --git a/src/gallium/drivers/radeonsi/si_shader.c
b/src/gallium/drivers/radeonsi/si_shader.c
i
v2: fix arithmetic for special opcodes
(based on comments from Marek and Ilia),
fix fog state, cleanup
---
src/mesa/Makefile.sources | 1 +
src/mesa/program/program.h| 2 +
src/mesa/state_tracker/st_atifs_to_tgsi.c | 734 ++
src/mes
v2: fix const-ness
---
src/mesa/state_tracker/st_atom_sampler.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/mesa/state_tracker/st_atom_sampler.c
b/src/mesa/state_tracker/st_atom_sampler.c
index 94231cf..7c8fa13 100644
--- a/src/mesa/state_tracker/st_atom_sampler.c
dri drawables must never be released when unbound from a context
as long as their corresponding glx objects (window, pixmap, pbuffer)
still exist
this fixes fd.o bug #93955 and disappearing characters in KotOR when
soft shadows are enabled
---
src/glx/dri2_glx.c | 4
src/glx/dri3_glx.c
---
src/mesa/state_tracker/st_extensions.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/mesa/state_tracker/st_extensions.c
b/src/mesa/state_tracker/st_extensions.c
index f25bd74..a2caa11 100644
--- a/src/mesa/state_tracker/st_extensions.c
+++ b/src/mesa/state_tracker/st_extensions.c
@@
Hi,
this series is the second version of my patch set, which aims to improve the
looks of Star Wars: Knights of the Old Republic (via Wine). The main feature is
the implementation of GL_ATI_fragment_shader for all Gallium divers (though I
could only test it with radeonsi, llvmpipe, and softpipe
this was marked for removal since 2007
ctx::Visual is also removed, since this was its only legit user
---
.../drivers/dri/radeon/radeon_common_context.c | 2 +-
src/mesa/main/blend.c | 4 +-
src/mesa/main/blend.h | 4 +-
src/mesa/ma
Patches 4-10 and 12-18 are also
Reviewed-by: Nicolai Hähnle
On 05.02.2016 14:20, Marek Olšák wrote:
Hi,
This is the last part of restructuring needed for having one shader variant per
shader.
Summary:
- a lot of changes are about PS inputs and interpolation
- code movements, cleanups
Behav
On Fri, Feb 5, 2016 at 4:11 PM, Miklós Máté wrote:
> v2: fix arithmetic for special opcodes
> (based on comments from Marek and Ilia),
> fix fog state, cleanup
> ---
> src/mesa/Makefile.sources | 1 +
> src/mesa/program/program.h| 2 +
> src/mesa/state_tracke
On Fri, Feb 5, 2016 at 4:11 PM, Miklós Máté wrote:
> v2: comment about the purpose of the code
> ---
> src/mesa/main/teximage.c | 32
> 1 file changed, 32 insertions(+)
>
> diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c
> index 50141be..cac05d5 1
On Fri, Feb 5, 2016 at 8:31 PM, Nicolai Hähnle wrote:
> Hi,
>
>
> On 04.02.2016 17:25, Marek Olšák wrote:
>>
>> I would like to start a discussion about an OpenGL-OpenCL interop
>> interface where OpenCL is not part of Mesa.
>>
>> I think the only way to do this is to have Mesa export functions th
Updated the list-workarounds script so that it
can parse Mesa directory if provided. Moved the
common code to a separate function to allow
reuse for both kernel and mesa.
The new command line is:
Usage: list-workarounds [options] path-to-kernel
-k path-to-kernel -m path-to-mesa
The legacy
Update the format in which workarounds are documented
in the source code. This allows mesa to be parsed
by the list-workarounds utility in intel-gpu-tools.
Signed-off-by: Sameer Kibey
---
changed byt to vlv for consistency.
src/mesa/drivers/dri/i965/brw_binding_tables.c | 2 +-
src/mesa/drivers/
On Fri, Feb 5, 2016 at 11:30 AM, Ian Romanick wrote:
>
> On 12/24/2015 01:04 PM, Anuj Phogat wrote:
> > OpenGL ES 1.0 doesn't support using GL_STREAM_DRAW and both
> > ES 1.0 and 2.0 don't support GL_STREAM_READ in glBufferData().
> > So, handle it correctly by calling the _mesa_meta_begin()
> > b
On Fri, Feb 5, 2016 at 1:11 PM, Miklós Máté wrote:
> the state tracker will use it
> ---
> src/mesa/drivers/common/driverfuncs.c | 3 +++
> src/mesa/main/atifragshader.c | 13 -
> src/mesa/main/dd.h| 7 ++-
> src/mesa/main/mtypes.h| 1
1 - 100 of 142 matches
Mail list logo