Please leave this and the next patch out of your series. I'm going to
need to retest everything carefully once the core support is in (and I
get a bit of time).
Thanks,
-ilia
On Thu, Mar 24, 2016 at 8:11 PM, Edward O'Callaghan
wrote:
> From: Ilia Mirkin
Instead of introducing buggy code in patch 6/17 and then fixing it up
here, you need to fold this with patch 6 so that it's all done at the
same time.
On Thu, Mar 24, 2016 at 8:11 PM, Edward O'Callaghan
wrote:
> Upon context creation, internal driver structures are
On Thu, Mar 24, 2016 at 8:11 PM, Edward O'Callaghan
wrote:
> 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
On Thu, Mar 24, 2016 at 8:11 PM, Edward O'Callaghan
wrote:
> Using PIPE_FORMAT_NONE to indicate what MSAA modes are supported
> with a framebuffer using no attachment.
>
> Signed-off-by: Edward O'Callaghan
> ---
>
Francisco Jerez writes:
> Jason Ekstrand writes:
>
>> On Thu, Mar 24, 2016 at 5:50 PM, Kenneth Graunke
>> wrote:
>>
>>> dEQP-GLES31.functional.fbo.no_attachments.* draws a quad with no
>>> framebuffer attachments, using a
Jason Ekstrand writes:
> On Thu, Mar 24, 2016 at 5:50 PM, Kenneth Graunke
> wrote:
>
>> dEQP-GLES31.functional.fbo.no_attachments.* draws a quad with no
>> framebuffer attachments, using a shader that discards based on
>> gl_FragCoord. It uses
Needed to distinguish NATIVE and TGSI compute shaders on
compute state creation.
Signed-off-by: Bas Nieuwenhuizen
---
src/gallium/drivers/trace/tr_dump_state.c | 2 ++
src/gallium/include/pipe/p_state.h| 1 +
These patches contain some interface changes that I want to
use for my compute shader work for radeonsi.
I am interested in any input or objections on the patches,
especially the fourth one.
Thanks,
Bas Nieuwenhuizen
Bas Nieuwenhuizen (4):
gallium: add compute shader IR type
gallium: Add
Currently radeonsi synchronizes after every dispatch and Clover
does nothing to synchronize. This is overzealous, especially with
GL compute, so add a barrier for global buffers.
Signed-off-by: Bas Nieuwenhuizen
---
src/gallium/include/pipe/p_defines.h | 1
This avoids shader variants for radeonsi, or if we go with
shader variants, it lets us compile an initial variant.
Signed-off-by: Bas Nieuwenhuizen
---
src/gallium/drivers/trace/tr_dump_state.c | 4
src/gallium/include/pipe/p_state.h| 6 ++
For radeonsi, native and TGSI use different compilers and this results
in different limits for different IR's.
The set we strictly need for radeonsi is only the MAX_BLOCK_SIZE
and MAX_THREADS_PER_BLOCK params, but I added a few others as shader
related that seemed like they would also typically
On Thu, Mar 24, 2016 at 5:50 PM, Kenneth Graunke
wrote:
> dEQP-GLES31.functional.fbo.no_attachments.* draws a quad with no
> framebuffer attachments, using a shader that discards based on
> gl_FragCoord. It uses occlusion queries to inspect whether pixels
> are rendered
Welcome to the community!
Some small comments.
We usually write patch messages in present tense.
So, "Format code in ".
Some more comments below.
On Mar 25, 2016 01:24, "Rovanion Luckey" wrote:
>
> This is a tiny housekeeping patch which does the following:
>
>
Kenneth Graunke writes:
> dEQP-GLES31.functional.fbo.no_attachments.* draws a quad with no
> framebuffer attachments, using a shader that discards based on
> gl_FragCoord. It uses occlusion queries to inspect whether pixels
> are rendered or not.
>
> Unfortunately, the
dEQP-GLES31.functional.fbo.no_attachments.* draws a quad with no
framebuffer attachments, using a shader that discards based on
gl_FragCoord. It uses occlusion queries to inspect whether pixels
are rendered or not.
Unfortunately, the hardware is not dispatching any pixel shaders,
so discards
This is a tiny housekeeping patch which does the following:
* Replaced tabs with three spaces.
* Formatted oneline and multiline code comments. Some doxygen
comments weren't marked as such and some code comments were
marked
as doxygen comments.
Set default values for the constants required in
ARB_framebuffer_no_attachments and obtained the number
of layers from ``PIPE_CAP_MAX_TEXTURE_ARRAY_LAYERS``.
We also obtain the MaxFramebufferSamples value using
a query back to the driver for PIPE_FORMAT_NONE.
Signed-off-by: Edward O'Callaghan
Signed-off-by: Edward O'Callaghan
---
src/mesa/main/fbobject.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c
index bb8d4c3..42f40b2 100644
--- a/src/mesa/main/fbobject.c
+++ b/src/mesa/main/fbobject.c
@@
Carries across the number of samples and layers state in the
'softpipe_set_framebuffer_state()' callback. This state is
part of 'ARB_framebuffer_no_attachments' support.
Signed-off-by: Edward O'Callaghan
Reviewed-by: Marek Olšák
---
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.
V2:
Convert branches in
Add PIPE_CAP to determine if the GL extension
'GL_ARB_framebuffer_no_attachments' shall be
supported.
The driver is required to support 'PIPE_FORMAT_NONE'
via its 'is_format_supported()' callback in order
to determine the MSAA modes the hardware supports so
that values requested from the
Using PIPE_FORMAT_NONE to indicate what MSAA modes are supported
with a framebuffer using no attachment.
Signed-off-by: Edward O'Callaghan
---
src/mesa/state_tracker/st_atom_framebuffer.c | 51
1 file changed, 51 insertions(+)
diff
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
Signed-off-by: Edward O'Callaghan
Reviewed-by: Marek Olšák
---
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
For ARB_framebuffer_no_attachment; A is_format_supported() query
with 'PIPE_FORMAT_NONE' passed implies a query of the number of
samples supported from the framebuffer with no attachment.
Signed-off-by: Edward O'Callaghan
---
src/gallium/drivers/radeonsi/si_state.c
Lets give the developer a little hand if we are going to assert
on a zero literal at the end of a branch.
Signed-off-by: Edward O'Callaghan
---
src/gallium/drivers/radeonsi/si_state.c | 2 ++
1 file changed, 2 insertions(+)
diff --git
Signed-off-by: Edward O'Callaghan
---
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
index
Signed-off-by: Edward O'Callaghan
---
src/gallium/drivers/radeonsi/si_pipe.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/radeonsi/si_pipe.c
b/src/gallium/drivers/radeonsi/si_pipe.c
index 51ebb96..d00e562 100644
---
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_state_validate.c | 16
Signed-off-by: Edward O'Callaghan
---
docs/GL3.txt | 2 +-
docs/relnotes/11.3.0.html | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/docs/GL3.txt b/docs/GL3.txt
index 88c14c4..8cb17f3 100644
--- a/docs/GL3.txt
+++ b/docs/GL3.txt
@@
Signed-off-by: Edward O'Callaghan
---
src/gallium/drivers/r600/r600_pipe.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/r600/r600_pipe.c
b/src/gallium/drivers/r600/r600_pipe.c
index 4b91874..7b4f9cb 100644
---
Upon context creation, internal driver structures are malloc()'ed
and memset() to zero them. This results in a invalid number of
samples 'by default'. Handle this in the simplest way to avoid
elaborate and probably equally sub-optimial solutions.
V2: Minor, use "NOTE:" instead of "N.B." 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: Marek Olšák
---
src/mesa/state_tracker/st_atom_framebuffer.c | 8 +---
1 file
I hope to have finally addressed everything by now, fingers crossed.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
On 24/03/16 22:07, Ilia Mirkin wrote:
On Sat, Mar 19, 2016 at 6:30 PM, Jose Fonseca wrote:
On 19/03/16 22:25, Ilia Mirkin wrote:
On Sat, Mar 19, 2016 at 6:23 PM, Jose Fonseca wrote:
On 18/03/16 04:00, Ilia Mirkin wrote:
On Mar 17, 2016 8:27
radeonsi and nouveau are pretty close to have OpenGL 4.2.
Signed-off-by: Samuel Pitoiset
---
src/mesa/state_tracker/st_extensions.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mesa/state_tracker/st_extensions.c
svga_shader_expand will fall back to using non-malloced
memory for emit.buf if malloc fails. We should check if
the memory is malloced before freeing it in the error
path of svga_tgsi_vgpu9_translate.
---
All we need to do is check if emit->buf points to the err_buf.
I was surprised to see a
rb
On Thu, Mar 24, 2016 at 3:22 PM, Nanley Chery wrote:
> From: Nanley Chery
>
> Prepare Image extents and offsets for internal consumption by assigning
> the default values implicitly defned by the spec. Fixes textures on
> several Vulkan demos
From: Nanley Chery
Prepare Image extents and offsets for internal consumption by assigning
the default values implicitly defned by the spec. Fixes textures on
several Vulkan demos in which the VkImageCopy depth is set to zero when
copying a 2D image.
v2 (Jason
On Sat, Mar 19, 2016 at 6:30 PM, Jose Fonseca wrote:
> On 19/03/16 22:25, Ilia Mirkin wrote:
>>
>> On Sat, Mar 19, 2016 at 6:23 PM, Jose Fonseca wrote:
>>>
>>> On 18/03/16 04:00, Ilia Mirkin wrote:
On Mar 17, 2016 8:27 PM, "Matt
On Thu, Mar 17, 2016 at 5:25 PM, Samuel Pitoiset
wrote:
>
>
> On 03/18/2016 01:22 AM, Matt Turner wrote:
>>
>> On Thu, Mar 17, 2016 at 5:17 PM, Pierre Moreau
>> wrote:
>>>
>>> This fixes a compile error while building Nouveau with C++11 enabled
On 03/24/2016 07:12 PM, Kenneth Graunke wrote:
On Thursday, March 24, 2016 10:29:44 AM PDT Eduardo Lima Mitev wrote:
On 03/24/2016 07:54 AM, Kenneth Graunke wrote:
From the ES 3.2 spec, section 16.1.1 (Selecting Buffers for Reading):
"An INVALID_ENUM error is generated if src is not
From: Rob Clark
Prior to running nir_lower_io_types (next patch), we need to eliminate
indirect load_input/store_output. This can either be done via
nir_lower_indirect_derefs (for hw which does not support indirect var
access) or this pass (for hw which does).
---
From: Rob Clark
A pass to lower complex (struct/array/mat) inputs/outputs to primitive
types. This allows, for example, linking that removes unused components
of a larger type which is not indirectly accessed.
In the near term, it is needed for gallium (mesa/st)
From: Rob Clark
The first pass would be used if you are not using nir_lower_indirect_deref's
(which would be the case for ir3, since we do have indirect register access).
This simply ensure there are no indirected input/outputs.
The second pass splits up
On Thursday, March 24, 2016 10:29:44 AM PDT Eduardo Lima Mitev wrote:
> On 03/24/2016 07:54 AM, Kenneth Graunke wrote:
> > From the ES 3.2 spec, section 16.1.1 (Selecting Buffers for Reading):
> >
> > "An INVALID_ENUM error is generated if src is not BACK or one of
> > the values from
Signed-off-by: Adam Jackson
---
src/mapi/glapi/gen/gl_XML.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mapi/glapi/gen/gl_XML.py b/src/mapi/glapi/gen/gl_XML.py
index 2e7123e..e11f6fc 100644
--- a/src/mapi/glapi/gen/gl_XML.py
+++
Signed-off-by: Adam Jackson
---
src/mapi/glapi/gen/glX_proto_recv.py | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/src/mapi/glapi/gen/glX_proto_recv.py
b/src/mapi/glapi/gen/glX_proto_recv.py
index 916da94..1cfa8c5 100644
---
Signed-off-by: Adam Jackson
---
src/mapi/glapi/gen/Makefile.am | 11 ---
src/mapi/glapi/gen/glX_proto_recv.py | 33 ++---
2 files changed, 10 insertions(+), 34 deletions(-)
diff --git a/src/mapi/glapi/gen/Makefile.am
Meaning, always rebuild them when asked instead of bothering to look at
timestamps (and then wondering why nothing happened when you said make).
Signed-off-by: Adam Jackson
---
src/mapi/glapi/gen/Makefile.am | 2 ++
1 file changed, 2 insertions(+)
diff --git
---
src/mapi/glapi/gen/glX_XML.py| 2 +-
src/mapi/glapi/gen/glX_proto_recv.py | 2 --
src/mapi/glapi/gen/glX_proto_send.py | 2 --
src/mapi/glapi/gen/glX_proto_size.py | 24 +++-
src/mapi/glapi/gen/gl_XML.py | 2 +-
5 files changed, 13 insertions(+), 19
We're about to update the generator scripts to use these, easier not to
vary between client and server.
Signed-off-by: Adam Jackson
---
src/mapi/glapi/gen/glX_proto_send.py | 24
1 file changed, 24 insertions(+)
diff --git
Signed-off-by: Adam Jackson
---
src/mapi/glapi/gen/glX_proto_recv.py | 4
1 file changed, 4 insertions(+)
diff --git a/src/mapi/glapi/gen/glX_proto_recv.py
b/src/mapi/glapi/gen/glX_proto_recv.py
index 21b187c..a138adb 100644
--- a/src/mapi/glapi/gen/glX_proto_recv.py
+++
Squashes the one remaining warning in the xserver build.
Signed-off-by: Adam Jackson
---
src/mapi/glapi/gen/glX_proto_recv.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mapi/glapi/gen/glX_proto_recv.py
b/src/mapi/glapi/gen/glX_proto_recv.py
index
Broken by:
commit 9ace0b542241c77ae82a0835ac8a09e2a7510eaf
Author: Dylan Baker
Date: Wed May 20 15:49:11 2015 -0700
glapi: glX_proto_size.py: use argparse instead of getopt
Which changed most, but not all, callers to use --header-tag instead of
A modest size savings:
textdata bss dec hex filename
264143 15608 232 279983 445af libglx.so.before
254303 15608 232 270143 41f3f libglx.so.after
Signed-off-by: Adam Jackson
---
src/mapi/glapi/gen/glX_proto_recv.py | 6 +++---
1 file
Signed-off-by: Adam Jackson
---
src/glx/indirect_vertex_array.c | 39
src/glx/indirect_vertex_program.c | 202 --
src/glx/tests/indirect_api.cpp| 2 -
src/mapi/glapi/gen/glX_XML.py | 6 +-
4 files changed, 4
Apologies for the stray duplicate copy of 01/11, neglected to say --compose
and didn't hit ^C in time.
This long-overdue series synchronizes the GLX dispatch scripts with the
state of the world in xserver. We no longer use the CALL_* pattern instead
emitting gl* calls directly (or thunking
Broken by:
commit 9ace0b542241c77ae82a0835ac8a09e2a7510eaf
Author: Dylan Baker
Date: Wed May 20 15:49:11 2015 -0700
glapi: glX_proto_size.py: use argparse instead of getopt
Which changed most, but not all, callers to use --header-tag instead of
https://bugs.freedesktop.org/show_bug.cgi?id=94657
Nicolai Hähnle changed:
What|Removed |Added
Status|NEW |RESOLVED
On Thu, Mar 24, 2016 at 9:27 AM, Nanley Chery wrote:
> From: Nanley Chery
>
> Prepare Image extents and offsets for internal consumption by assigning
> the default values implicitly defined by the spec. Fixes textures on
> several Vulkan demos in
From: Nanley Chery
Prepare Image extents and offsets for internal consumption by assigning
the default values implicitly defined by the spec. Fixes textures on
several Vulkan demos in which the VkImageCopy depth is set to zero when
copying a 2D image.
Signed-off-by:
Will do. BTW, I had to add #include "main/framebuffer.h" in
st_atom_rasterizer.c
-Brian
On 03/24/2016 05:29 AM, Bas Nieuwenhuizen wrote:
Can someone push this patch for me?
Thanks,
Bas Nieuwenhuizen
On Wed, Mar 23, 2016 at 4:21 PM, Brian Paul wrote:
No regressions
Can someone push this patch for me?
Thanks,
Bas Nieuwenhuizen
On Wed, Mar 23, 2016 at 4:21 PM, Brian Paul wrote:
> No regressions here, Bas.
>
> -Brian
>
>
> On 03/22/2016 01:27 PM, Brian Paul wrote:
>>
>> If you can wait until tomorrow, Bas, I'll do an overight piglit run to
Hi Lurie,
Thx for your interest.
In order to work on this project you would need either a AMD or NVIDIA
graphic hardware. Indeed current st/omx in Gallium, only work with these 2
hardwares and it would be out of scope of the project to add support for
another hardware.
In order to check that
On Wed, Mar 23, 2016 at 10:14 PM, Chih-Wei Huang
wrote:
> 2016-03-24 8:51 GMT+08:00 Rob Clark :
> [deleted]
>>
>> [*] the caveat there is vmwgfx stuff which seems to want to do blits..
>> although I'm not entirely sure why or if that is even still
On 03/24/2016 07:54 AM, Kenneth Graunke wrote:
From the ES 3.2 spec, section 16.1.1 (Selecting Buffers for Reading):
"An INVALID_ENUM error is generated if src is not BACK or one of
the values from table 15.5."
Table 15.5 contains NONE and COLOR_ATTACHMENTi.
Mesa properly returned
Both patches are:
Reviewed-by: Eduardo Lima Mitev
Together with the other patch you sent earlier, I get these results for
dEQP-GLES31.functional.debug.* :
Test run totals:
Passed:1004/1010 (99.4%)
Failed:6/1010 (0.6%)
Not supported: 0/1010 (0.0%)
From the KHR_debug spec, section 5.5.5 (Externally Generated Messages):
"If is negative, it is implied that contains a null
terminated string. The error INVALID_VALUE will be generated if the
number of characters in , excluding the null terminator when
is negative, is not less
The KHR_debug spec doesn't actually say we should handle this, but that
is most likely an oversight - it says to check against strlen and
generate errors if length is negative. It appears they just forgot to
explicitly spell out that we should then proceed to actually handle it.
Fixes crashes
From the ES 3.2 spec, section 16.1.1 (Selecting Buffers for Reading):
"An INVALID_ENUM error is generated if src is not BACK or one of
the values from table 15.5."
Table 15.5 contains NONE and COLOR_ATTACHMENTi.
Mesa properly returned INVALID_ENUM for unknown enums, but it decided
what
71 matches
Mail list logo