With the const's gone on the return types of the new helpers, this is
Reviewed-by: Ilia Mirkin
On Mon, Jun 6, 2016 at 12:21 AM, Dave Airlie wrote:
> From: Dave Airlie
>
> Although the glsl_types.h stores this in a bitfield,
> we
From: Dave Airlie
Although the glsl_types.h stores this in a bitfield,
we should hide that from everyone else. Hide the cast
in an accessor method and use the enum everywhere.
This makes things a bit nicer in gdb, and improves type
safety.
v2: fix a few pieces of interface
On Friday, June 3, 2016 4:40:46 PM PDT Ilia Mirkin wrote:
> On Fri, Jun 3, 2016 at 4:08 AM, Kenneth Graunke wrote:
> > Our previous code worked for desktop GL, and ES without geometry or
> > tessellation shaders. But those features require fancier point size
> > handling.
On 6 June 2016 at 11:47, Ilia Mirkin wrote:
> ping
>
> On Sun, May 29, 2016 at 2:01 PM, Ilia Mirkin wrote:
>> Turns out Matt already did a bunch of this work last year, but since I
>> only found out about that after I wrote my patches, I decided to
Hi Kenneth,
Am 03.06.2016 um 10:08 schrieb Kenneth Graunke:
> Our previous code worked for desktop GL, and ES without geometry or
> tessellation shaders. But those features require fancier point size
> handling. Fortunately, we can use one rule for all APIs.
>
> Fixes a number of dEQP tests
ping
On Sun, May 29, 2016 at 2:01 PM, Ilia Mirkin wrote:
> Turns out Matt already did a bunch of this work last year, but since I
> only found out about that after I wrote my patches, I decided to keep
> mine in place (I like the "vote" naming better TBH). This passes the
>
On Sun, Jun 5, 2016 at 9:30 PM, Dave Airlie wrote:
> From: Dave Airlie
>
> With tessellation shaders we can have cases where we have
> arrays of anon structs, so make sure we match using without_array().
>
> Fixes:
>
From: Dave Airlie
With tessellation shaders we can have cases where we have
arrays of anon structs, so make sure we match using without_array().
Fixes:
GL45-CTS.tessellation_shader.tessellation_control_to_tessellation_evaluation.gl_in
v2:
test lengths match as well (Ilia)
From: Dave Airlie
With tessellation shaders we can have cases where we have
arrays of anon structs, so make sure we match using without_array().
Fixes:
GL45-CTS.tessellation_shader.tessellation_control_to_tessellation_evaluation.gl_in
v2:
test lengths match as well (Ilia)
From: Dave Airlie
With tessellation shaders we can have cases where we have
arrays of anon structs, so make sure we match using without_array().
Fixes:
GL45-CTS.tessellation_shader.tessellation_control_to_tessellation_evaluation.gl_in
Signed-off-by: Dave Airlie
On Sat, Jun 4, 2016 at 3:39 PM, Jason Ekstrand wrote:
> Signed-off-by: Jason Ekstrand
> Cc: Kristian Høgsberg Kristensen
Thanks for adding this, looks good to me. The copying of prog_data in
anv_pipeline_cache_load() is a little
Vedran Miletić writes:
> Change MESA into Mesa in CL_PLATFORM_VERSION and CL_DEVICE_VERSION. For
> both, always append git version suffix from git_sha1.h.
>
> v4: dropped #ifdef guards.
>
> It would be very nice if this could be considered for 12.0 release.
> ---
>
Vedran Miletić writes:
> On 06/04/2016 04:27 AM, Francisco Jerez wrote:
>> Serge Martin writes:
>>
>>> This fix getting the size of a struct arg. vec3 types still work ok.
>>> Only buit-in args need to have power of two alignment, getTypeAllocSize
>>>
Vedran Miletić writes:
> On 06/04/2016 10:13 AM, Francisco Jerez wrote:
>> Vedran Miletić writes:
>>
>>> OpenCL apps can quote arguments they pass to the OpenCL compiler, most
>>> commonly include paths containing spaces. If the OpenCL compiler was
>>>
Build mesa 1517 completed
Commit f657a59d98 by Kenneth Graunke on 6/5/2016 11:31 PM:
mesa: Try to unbreak the MSVC build.\n\nPATH_MAX is apparently not a thing on Windows. Borrow the hack from\npipe_loader.c to try and make this work.\n\nSigned-off-by:
On 06/06/2016 12:44 AM, Vedran Miletić wrote:
Change MESA into Mesa in CL_PLATFORM_VERSION and CL_DEVICE_VERSION. For
both, always append git version suffix from git_sha1.h.
v4: dropped #ifdef guards.
It would be very nice if this could be considered for 12.0 release.
---
On Sun, Jun 5, 2016 at 6:30 PM, Emil Velikov wrote:
> On 5 June 2016 at 23:22, Ilia Mirkin wrote:
>> You're arguing about clarity with the ~2 active developers/reviewers
>> who understand the code.
> What I'm saying is that with contradicting
On 06/04/2016 04:27 AM, Francisco Jerez wrote:
Serge Martin writes:
This fix getting the size of a struct arg. vec3 types still work ok.
Only buit-in args need to have power of two alignment, getTypeAllocSize
reports the correct size.
Is there any guarantee that the
This was disabled due to occasionally incorrect behavior when trying to
upload data. It later became apparent that nvc0 also had a similar but
slightly different issue, which was resolved in commit e50c01d5. This
takes the same logic as nvc0 and applies it to nv50 (which has somewhat
different
On 06/04/2016 04:18 AM, Francisco Jerez wrote:
Serge Martin writes:
From: Vedran Miletić
Make sure that a struct argument did not get compiled into a pointer
type with the byval attribute. If we try to handle the pointer with
byval, we end up with
ARB_shader_image_load_store only requires a very fixed list of formats
to be supported, while textures may be in all kinds of formats, like
BGRA which are presently not supported on at least Kepler.
Signed-off-by: Ilia Mirkin
---
src/mesa/state_tracker/st_cb_readpixels.c |
On 06/04/2016 10:13 AM, Francisco Jerez wrote:
Vedran Miletić writes:
OpenCL apps can quote arguments they pass to the OpenCL compiler, most
commonly include paths containing spaces. If the OpenCL compiler was
called via a shell, the shell would remove (single or double)
Change MESA into Mesa in CL_PLATFORM_VERSION and CL_DEVICE_VERSION. For
both, always append git version suffix from git_sha1.h.
v4: dropped #ifdef guards.
It would be very nice if this could be considered for 12.0 release.
---
src/gallium/state_trackers/clover/api/device.cpp | 5 -
On 06/06/2016 12:30 AM, Emil Velikov wrote:
On 5 June 2016 at 23:22, Ilia Mirkin wrote:
On Sun, Jun 5, 2016 at 6:08 PM, Emil Velikov wrote:
On 5 June 2016 at 23:00, Samuel Pitoiset wrote:
On 06/05/2016 11:50 PM,
On 5 June 2016 at 23:22, Ilia Mirkin wrote:
> On Sun, Jun 5, 2016 at 6:08 PM, Emil Velikov wrote:
>> On 5 June 2016 at 23:00, Samuel Pitoiset wrote:
>>>
>>>
>>> On 06/05/2016 11:50 PM, Emil Velikov wrote:
On 5
This fixes a problem with the CE preamble and restoring only stuff in the
preamble when needed.
To illustrate suppose we have two graphics IB's 1 and 2, which are submitted in
that order. Furthermore suppose IB 1 does not use CE ram, but IB 2 does, and we
have a context switch at the start of IB
On Sun, Jun 5, 2016 at 6:08 PM, Emil Velikov wrote:
> On 5 June 2016 at 23:00, Samuel Pitoiset wrote:
>>
>>
>> On 06/05/2016 11:50 PM, Emil Velikov wrote:
>>>
>>> On 5 June 2016 at 22:36, Ilia Mirkin wrote:
On
On 06/06/2016 12:08 AM, Emil Velikov wrote:
On 5 June 2016 at 23:00, Samuel Pitoiset wrote:
On 06/05/2016 11:50 PM, Emil Velikov wrote:
On 5 June 2016 at 22:36, Ilia Mirkin wrote:
On Sun, Jun 5, 2016 at 5:34 PM, Emil Velikov
On 5 June 2016 at 23:00, Samuel Pitoiset wrote:
>
>
> On 06/05/2016 11:50 PM, Emil Velikov wrote:
>>
>> On 5 June 2016 at 22:36, Ilia Mirkin wrote:
>>>
>>> On Sun, Jun 5, 2016 at 5:34 PM, Emil Velikov
>>> wrote:
On 06/05/2016 11:50 PM, Emil Velikov wrote:
On 5 June 2016 at 22:36, Ilia Mirkin wrote:
On Sun, Jun 5, 2016 at 5:34 PM, Emil Velikov wrote:
On 5 June 2016 at 22:17, Ilia Mirkin wrote:
On Sun, Jun 5, 2016 at 5:16 PM,
On 5 June 2016 at 22:36, Ilia Mirkin wrote:
> On Sun, Jun 5, 2016 at 5:34 PM, Emil Velikov wrote:
>> On 5 June 2016 at 22:17, Ilia Mirkin wrote:
>>> On Sun, Jun 5, 2016 at 5:16 PM, Emil Velikov
>>>
On Sun, Jun 5, 2016 at 5:34 PM, Emil Velikov wrote:
> On 5 June 2016 at 22:17, Ilia Mirkin wrote:
>> On Sun, Jun 5, 2016 at 5:16 PM, Emil Velikov
>> wrote:
>>> On 5 June 2016 at 22:13, Emil Velikov
On 5 June 2016 at 22:17, Ilia Mirkin wrote:
> On Sun, Jun 5, 2016 at 5:16 PM, Emil Velikov wrote:
>> On 5 June 2016 at 22:13, Emil Velikov wrote:
>>> On 5 June 2016 at 17:56, Samuel Pitoiset
On 06/05/2016 11:17 PM, Ilia Mirkin wrote:
On Sun, Jun 5, 2016 at 5:16 PM, Emil Velikov wrote:
On 5 June 2016 at 22:13, Emil Velikov wrote:
On 5 June 2016 at 17:56, Samuel Pitoiset wrote:
We should not call
On Sun, Jun 5, 2016 at 5:16 PM, Emil Velikov wrote:
> On 5 June 2016 at 22:13, Emil Velikov wrote:
>> On 5 June 2016 at 17:56, Samuel Pitoiset wrote:
>>> We should not call nouveau_bufctx_reset() inside a validate
On 5 June 2016 at 22:13, Emil Velikov wrote:
> On 5 June 2016 at 17:56, Samuel Pitoiset wrote:
>> We should not call nouveau_bufctx_reset() inside a validate function.
> This seems to contradict the changes introduced in nvc0_compute.c.
>
On 5 June 2016 at 17:56, Samuel Pitoiset wrote:
> We should not call nouveau_bufctx_reset() inside a validate function.
This seems to contradict the changes introduced in nvc0_compute.c.
Worth explaining a bit better the dos and don'ts ?
-Emil
From: Dave Airlie
This fixes a crash in
GL43-CTS.shader_subroutine.subroutines_not_allowed_as_variables_constructors_and_argument_or_return_types
If we can't find the func_name in one of these paths,
we have emitted an earlier error so just return here.
Signed-off-by: Dave
Build mesa 1516 failed
Commit c417c0c9c3 by Kenneth Graunke on 9/7/2014 3:26 AM:
mesa: Add MESA_SHADER_CAPTURE_PATH for writing .shader_test files.\n\nThis writes linked shader programs to .shader_test files to\n$MESA_SHADER_CAPTURE_PATH in the format used by
From: Dave Airlie
GL43-CTS.compute_shader.work-group-size does
uniform uint g_uniform[gl_WorkGroupSize.z + 20] = {
1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24 };
The initializer triggers the GLSL 4.30/GLES3 tests
for constant sequence subexpressions, so
On 6 June 2016 at 05:40, Dave Airlie wrote:
> From: Dave Airlie
>
> The clamping code always clamps to 0..1, which for SNORM is
> incorrect. This adds a bit to say that clamping is for
> an snorm and to use the correct range.
>
> This fixes a number of
Please ignore this patch. It doesn't work.
Marek
On Sun, Jun 5, 2016 at 5:07 PM, Marek Olšák wrote:
> From: Marek Olšák
>
> ---
> src/gallium/drivers/radeonsi/si_blit.c | 34
> +-
> 1 file changed, 21 insertions(+), 13
From: Dave Airlie
The clamping code always clamps to 0..1, which for SNORM is
incorrect. This adds a bit to say that clamping is for
an snorm and to use the correct range.
This fixes a number of SNORM cases in:
GL33-CTS.texture_size_promotion.functional
v2: handle the case
On Sun, Jun 5, 2016 at 6:34 PM, Axel Davy wrote:
> if abs is not inserted in the source glsl, that's a wine bug, not a mesa
> bug,
> Thus I don't think doing this is a good idea.
The old code used CMP, this code uses ABS instead. ABS is faster. I
don't see a problem with that
https://bugs.freedesktop.org/show_bug.cgi?id=94512
--- Comment #6 from Emil Velikov ---
Based of the backtrace there is no information if mesa/libglapi was build with
or w/o glx-tls. Following an IRC conversation it seems that the library is
built w/o glx-tls as i is
On 2016.06.03 18:49, ⚛ wrote:
> On Fri, Jun 3, 2016 at 2:08 PM, Nicolai Hähnle wrote:
>> On 03.06.2016 13:12, wrote:
>>>
>>> Situation: Looking at the content displayed by the web browser for URL
>>> http://patchwork.freedesktop.org/project/mesa/series and sub-pages
>>>
Reviewed-by: Ilia Mirkin
On Sun, Jun 5, 2016 at 12:56 PM, Samuel Pitoiset
wrote:
> We should not call nouveau_bufctx_reset() inside a validate function.
> This only affects Fermi where images are aliased between 3D and CP.
>
> Signed-off-by:
We should not call nouveau_bufctx_reset() inside a validate function.
This only affects Fermi where images are aliased between 3D and CP.
Signed-off-by: Samuel Pitoiset
Cc: "12.0"
---
src/gallium/drivers/nouveau/nvc0/nvc0_compute.c
On Sun, Jun 5, 2016 at 12:28 PM, Samuel Pitoiset
wrote:
> Images invalidation is a bit weird on Fermi and there is already a hack
> which forces invalidating all images when launching a computer shader
> to help in fixing 3D<->CP interaction.
>
> However, we need to
if abs is not inserted in the source glsl, that's a wine bug, not a mesa
bug,
Thus I don't think doing this is a good idea.
On 05/06/2016 17:17, Ilia Mirkin wrote:
On Mon, May 30, 2016 at 7:19 PM, Marek Olšák wrote:
From: Marek Olšák
Bugzilla:
Images invalidation is a bit weird on Fermi and there is already a hack
which forces invalidating all images when launching a computer shader
to help in fixing 3D<->CP interaction.
However, we need to re-validate images for compute because
nvc0_compute_invalidate_surfaces() will destroy the
On Sun, Jun 5, 2016 at 12:13 PM, Samuel Pitoiset
wrote:
> Images invalidation is a bit weird on Fermi and there is already a hack
> which forces invalidating all images when launching a computer shader
> to help in fixing 3D<->CP interaction.
>
> However, we need to
Images invalidation is a bit weird on Fermi and there is already a hack
which forces invalidating all images when launching a computer shader
to help in fixing 3D<->CP interaction.
However, we need to re-validate images for compute because
nvc0_compute_invalidate_surfaces() will destroy the
On Mon, May 30, 2016 at 7:19 PM, Marek Olšák wrote:
> From: Marek Olšák
>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94627
> (against nouveau)
> ---
> src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 16 +---
> 1 file changed, 9
From: Marek Olšák
This improves MSAA resolve performance.
---
src/gallium/drivers/radeonsi/si_blit.c | 62 +-
1 file changed, 53 insertions(+), 9 deletions(-)
diff --git a/src/gallium/drivers/radeonsi/si_blit.c
From: Marek Olšák
This improves MSAA resolve performance.
---
src/gallium/drivers/r600/r600_blit.c | 60 +++-
1 file changed, 52 insertions(+), 8 deletions(-)
diff --git a/src/gallium/drivers/r600/r600_blit.c
Hi,
The shader-based resolve is slow.
With this series, one scene with 8xMSAA in HL2: Lost Coast goes from 8-9 FPS to
32 FPS on Evergreen & Wine/Nine.
Please review.
Marek
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
From: Marek Olšák
---
src/gallium/drivers/radeonsi/si_blit.c | 34 +-
1 file changed, 21 insertions(+), 13 deletions(-)
diff --git a/src/gallium/drivers/radeonsi/si_blit.c
b/src/gallium/drivers/radeonsi/si_blit.c
index 1c2c538..80844ec
Ping. This is a more accurate version than RSQ+MUL+CMP.
Marek
On Tue, May 31, 2016 at 1:19 AM, Marek Olšák wrote:
> From: Marek Olšák
>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94627
> (against nouveau)
> ---
>
In the case where we can't guess the base level size, just use the first
image's dims. The width0/height0/depth0 on stObj may not have been set
at this point. Observed in a trace that set up levels 2..9 of a 2d texture,
and set the base level to 2, with height 1. This made the guess logic
always
60 matches
Mail list logo