On Sun, 2016-01-24 at 11:46 -0500, Ilia Mirkin wrote:
> On Thu, Jan 21, 2016 at 3:27 AM, Iago Toral wrote:
> >> *offset = new(mem_ctx) ir_constant(0u);
> >> *row_major = is_dereferenced_thing_row_major(deref);
> >> *matrix_columns = 1;
> >> + if (struct_field)
> >> + *struct_fie
On Mon, 2015-11-30 at 14:31 +0200, Tapani Pälli wrote:
> Reviewed-by: Tapani Pälli
>
> On 11/25/2015 11:54 AM, Timothy Arceri wrote:
> > From: Gregory Hainaut
> >
> > This fixes an issue where the addition of the FLAT qualifier in
> > varying_matches::record() can break the expected varying ord
On Sun, Jan 24, 2016 at 2:53 AM, Armin K wrote:
> From: Tomasz Paweł Gajc
>
> Currently, building with clang fails due to:
>
> error in backend: symbol 'x86_64_entry_start' is already defined
>
> This patch fixes it.
>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89599
What do I have
This whole series is now,
Reviewed-by: Edward O'Callaghan
On 2016-01-25 05:59, Ilia Mirkin wrote:
I believe I've addressed the various feedback people had. There's the
outstanding point of how to expose the atomic buffer bindings, but
this is a larger issue and largely tangential to the actual
So I believe I have all the debugging symbols installed. From what I am seeing
in gdb and valgrind I am still thinking the issue is in the glx branch. For gdb
I ran it twice and stopped it during it attempt to load the r300 driver and in
it attempt to load the swrast driver. Both failed at the s
Signed-off-by: Samuel Pitoiset
---
I have forgot this one...
src/gallium/drivers/trace/tr_context.c| 80 +++
src/gallium/drivers/trace/tr_dump_state.c | 51
src/gallium/drivers/trace/tr_dump_state.h | 4 ++
src/gallium/drivers/trace/tr_scree
At least, one shader buffer must be available for compute shaders.
Signed-off-by: Samuel Pitoiset
---
src/gallium/include/pipe/p_state.h | 2 +-
src/mesa/state_tracker/st_extensions.c | 6 --
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/gallium/include/pipe/p_state.
This binds atomics, constants, samplers, ssbos, textures and ubos.
Signed-off-by: Samuel Pitoiset
---
src/mesa/state_tracker/st_atom.c| 6
src/mesa/state_tracker/st_atom.h| 5
src/mesa/state_tracker/st_atom_atomicbuf.c | 18 +++
src/mesa/state_tracker
The size of shared variables needs to be stored in gl_compute_program
in order to set up pipe_compute_state::req_local_mem. According to the
spec, there are no predefined inputs nor any fixed-function outputs.
Signed-off-by: Samuel Pitoiset
---
src/mesa/main/mtypes.h | 5 +++
LOCAL_INVOCATION_ID, WORK_GROUP_ID and NUM_WORK_GROUPS are respectively
mapped to THREAD_ID, BLOCK_ID and GRID_SIZE.
Signed-off-by: Samuel Pitoiset
---
src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 6 ++
1 file changed, 6 insertions(+)
diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
This adds GLSL intrinsics for load/store and atomic operations.
Signed-off-by: Samuel Pitoiset
---
src/mesa/state_tracker/st_extensions.c | 3 +
src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 95 ++
2 files changed, 98 insertions(+)
diff --git a/src/mesa/state_tra
Loosely based on tessellation shaders.
Signed-off-by: Samuel Pitoiset
---
src/gallium/auxiliary/hud/hud_context.c| 3 +++
src/gallium/auxiliary/postprocess/pp_run.c | 3 +++
src/gallium/auxiliary/util/u_blit.c| 3 +++
src/mesa/state_tracker/st_cb_bitmap.c | 3 +++
src/mesa/state
Signed-off-by: Samuel Pitoiset
---
src/gallium/auxiliary/cso_cache/cso_context.c | 53 +++
src/gallium/auxiliary/cso_cache/cso_context.h | 6 +++
2 files changed, 59 insertions(+)
diff --git a/src/gallium/auxiliary/cso_cache/cso_context.c
b/src/gallium/auxiliary/cso_cac
Signed-off-by: Samuel Pitoiset
---
src/mesa/state_tracker/st_atom.c| 2 +-
src/mesa/state_tracker/st_atom.h| 1 +
src/mesa/state_tracker/st_atom_shader.c | 36 +
src/mesa/state_tracker/st_cb_program.c | 28 +++
src/mesa/state_tracker/st_context.c | 1 +
sr
Like indirect draw, we need to store a resource and an offset that
needs to be 4 byte aligned. When indirect is used, the size of the
grid (in blocks) is stored with three 32-bit integers.
Signed-off-by: Samuel Pitoiset
---
src/gallium/include/pipe/p_state.h | 12
1 file changed, 12
This adds a new SHARED attribute to TGSI_FILE_BUFFER. Only
one shared buffer can be declared and its size is defined by
MAX_COMPUTE_SHARED_SIZE. Note that an atomic buffer can also
be shared.
Signed-off-by: Samuel Pitoiset
---
src/gallium/auxiliary/tgsi/tgsi_build.c| 1 +
src/gallium/auxili
Signed-off-by: Samuel Pitoiset
---
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 2374dcc..ec30d99 100644
--- a/src/mesa/state_tracker/st_extensions.c
+++ b/src/mesa/
This state tracker implements DispatchCompute() and DispatchComputeIndirect().
Signed-off-by: Samuel Pitoiset
---
src/mesa/Makefile.sources | 2 +
src/mesa/state_tracker/st_cb_compute.c | 85 ++
src/mesa/state_tracker/st_cb_compute.h | 38 +++
From: Ilia Mirkin
Looks like the various max's were never plumbed through.
Signed-off-by: Ilia Mirkin
Signed-off-by: Samuel Pitoiset
---
src/glsl/builtin_variables.cpp | 15 ++-
src/glsl/glsl_parser_extras.cpp | 7 +++
src/glsl/glsl_parser_extras.h| 5 +
src/glsl/
This will allow to query the underlying drivers for the maximum
total storage size of all variables declared as with
PIPE_COMPUTE_CAP_MAX_LOCAL_SIZE.
Signed-off-by: Samuel Pitoiset
---
src/glsl/main.cpp| 1 +
src/mesa/main/config.h | 5 -
src/mesa/main/get_hash_par
Hello,
This series adds the core support for ARB_compute_shader which is required for
OpenGL 4.3. This is based on the ssbo/atomics work of Ilia which introduces
ARB_shader_atomic_counters and ARB_shader_storage_buffer_object.
I don't include the nvc0 changes in that series but this currently som
According to the spec, this also increases the following minimum values:
- MAX_COMBINED_TEXTURE_IMAGE_UNITS 96 (6*16), was 80
- MAX_UNIFORM_BUFFER_BINDINGS 72 (6*12), was 60
Signed-off-by: Samuel Pitoiset
---
src/mesa/state_tracker/st_extensions.c | 24 ++--
1
This introduces pipe_grid_info which contains all information to
describe a launch_grid call. This will be used to implement indirect
compute in the same fashion as indirect draw.
Signed-off-by: Samuel Pitoiset
---
src/gallium/drivers/ilo/ilo_gpgpu.c| 8 ++
src/gallium/drive
Compute needs a new and different validation path.
Signed-off-by: Samuel Pitoiset
---
src/gallium/include/state_tracker/st_api.h | 8 +
src/mesa/state_tracker/st_atom.c | 48 --
src/mesa/state_tracker/st_atom.h | 4 ++-
src/mesa/state_tracker
Looks good know.
Reviewed-by: Samuel Pitoiset
On 01/24/2016 07:59 PM, Ilia Mirkin wrote:
Signed-off-by: Ilia Mirkin
Reviewed-by: Marek Olšák (v1)
v1 -> v2: add arg_begin/arg_end around buffer array
---
src/gallium/drivers/trace/tr_context.c| 40 +++
src/ga
On Sun, Jan 24, 2016 at 5:40 PM, Nicolai Hähnle wrote:
> From: Nicolai Hähnle
>
> This fixes a VM fault and possible lockup in high memory pressure situations.
>
> Cc: "11.0 11.1"
Only Mesa 11.1 has DCC.
Reviewed-by: Marek Olšák
Good catch.
Marek
> ---
> src/gallium/drivers/radeonsi/si_d
Signed-off-by: Ilia Mirkin
Reviewed-by: Marek Olšák (v2)
v1 -> v2: use TGSI_MEMBAR defines
---
src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 45 ++
1 file changed, 45 insertions(+)
diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
b/src/mesa/state_tracker/st_g
Signed-off-by: Ilia Mirkin
Reviewed-by: Marek Olšák
Reviewed-by: Edward O'Callaghan
---
src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 22 ++
1 file changed, 18 insertions(+), 4 deletions(-)
diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
b/src/mesa/state_tracker/st_
Signed-off-by: Ilia Mirkin
Reviewed-by: Marek Olšák
---
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 5695f27..d066784 100644
--- a/src/mesa/state_tracker/st_extens
Currently any access params (coherent/volatile/restrict) are being lost
when lowering to the ssbo load/store intrinsics. Keep track of the
variable being used, and bake its access params in as the last arg of
the load/store intrinsics.
If the variable is accessed via an instance block, then 'varia
I believe I've addressed the various feedback people had. There's the
outstanding point of how to expose the atomic buffer bindings, but
this is a larger issue and largely tangential to the actual code
changed in this series.
No one has commented on my glsl_to_tgsi bits, which I sort of
expected.
This makes PROGRAM_IMMEDIATE a first-class gl_register_file type, and
adds PROGRAM_BUFFER to the list. These are used purely inside
glsl_to_tgsi conversion.
Signed-off-by: Ilia Mirkin
---
src/mesa/main/mtypes.h | 2 ++
src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 1 -
2 files
Signed-off-by: Ilia Mirkin
Reviewed-by: Marek Olšák
---
src/gallium/include/pipe/p_defines.h | 1 +
src/mesa/state_tracker/st_cb_texturebarrier.c | 4
2 files changed, 5 insertions(+)
diff --git a/src/gallium/include/pipe/p_defines.h
b/src/gallium/include/pipe/p_defines.h
index b
Signed-off-by: Ilia Mirkin
v1 -> v2: some 80 char reformatting
---
src/mesa/Makefile.sources| 1 +
src/mesa/state_tracker/st_atom.c | 5 +
src/mesa/state_tracker/st_atom.h | 5 +
src/mesa/state_tracker/st_atom_storagebuf.c | 194
Signed-off-by: Ilia Mirkin
Reviewed-by: Marek Olšák (v1)
v1 -> v2: add arg_begin/arg_end around buffer array
---
src/gallium/drivers/trace/tr_context.c| 40 +++
src/gallium/drivers/trace/tr_dump_state.c | 18 ++
src/gallium/drivers/trace/tr_dump_state
Signed-off-by: Ilia Mirkin
Reviewed-by: Marek Olšák
---
src/mesa/Makefile.sources| 1 +
src/mesa/program/ir_to_mesa.cpp | 4 +
src/mesa/state_tracker/st_atom.c | 5 +
src/mesa/state_tracker/st_atom.h | 5 +
src/mesa/state_tracker/s
Signed-off-by: Ilia Mirkin
Reviewed-by: Marek Olšák (v1)
v1 -> v2: add defines for the various bits
---
src/gallium/auxiliary/tgsi/tgsi_info.c | 2 +-
src/gallium/docs/source/tgsi.rst | 17 +
src/gallium/include/pipe/p_shader_tokens.h | 7 ++-
3 files changed
Interfaces can have image properties set in case they are buffer
interfaces. Make sure not to lose this information.
Signed-off-by: Ilia Mirkin
Reviewed-by: Iago Toral Quiroga
---
src/glsl/builtin_variables.cpp | 5 +
src/glsl/nir/glsl_types.cpp| 5 +
src/glsl/nir/glsl_types.h
To prevent build failures when a large patch series is committed, like
happened in https://ci.appveyor.com/project/jrfonseca-fdo/mesa/build/322
due to 10 commits between dac2964f3ebd96d5ac227984ab0cd79c2c3b2a1a and
6f428328d34bed16edb8709e4a117eb710d7893d where submitted before the
build slave star
Reviewed-by: Edward O'Callaghan
On 2016-01-25 03:40, Nicolai Hähnle wrote:
From: Nicolai Hähnle
This fixes a VM fault and possible lockup in high memory pressure
situations.
Cc: "11.0 11.1"
---
src/gallium/drivers/radeonsi/si_descriptors.c | 33
+++
1 file chang
Reviewed-by: Ilia Mirkin
On Sun, Jan 24, 2016 at 11:50 AM, Samuel Pitoiset
wrote:
> Like other resources, the indirect draw buffer must be unwrapped.
>
> Changes from v2:
> - do it for indirect_params
>
> Signed-off-by: Samuel Pitoiset
> ---
> src/gallium/drivers/trace/tr_context.c | 17 ++
Like other resources, the indirect draw buffer must be unwrapped.
Changes from v2:
- do it for indirect_params
Signed-off-by: Samuel Pitoiset
---
src/gallium/drivers/trace/tr_context.c | 17 -
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/src/gallium/drivers/trac
On Thu, Jan 21, 2016 at 3:27 AM, Iago Toral wrote:
>> *offset = new(mem_ctx) ir_constant(0u);
>> *row_major = is_dereferenced_thing_row_major(deref);
>> *matrix_columns = 1;
>> + if (struct_field)
>> + *struct_field = NULL;
>
> Not sure how I feel about this... I think I'd rathe
From: Nicolai Hähnle
This fixes a VM fault and possible lockup in high memory pressure situations.
Cc: "11.0 11.1"
---
src/gallium/drivers/radeonsi/si_descriptors.c | 33 +++
1 file changed, 18 insertions(+), 15 deletions(-)
diff --git a/src/gallium/drivers/radeonsi/si
On Sun, Jan 24, 2016 at 10:47 AM, Samuel Pitoiset
wrote:
> Like other resources, the indirect draw buffer must be unwrapped.
>
> Signed-off-by: Samuel Pitoiset
> ---
> src/gallium/drivers/trace/tr_context.c | 15 ++-
> 1 file changed, 14 insertions(+), 1 deletion(-)
>
> diff --git a/
Like other resources, the indirect draw buffer must be unwrapped.
Signed-off-by: Samuel Pitoiset
---
src/gallium/drivers/trace/tr_context.c | 15 ++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/src/gallium/drivers/trace/tr_context.c
b/src/gallium/drivers/trace/tr_c
On 01/19/2016 03:30 AM, Ilia Mirkin wrote:
Signed-off-by: Ilia Mirkin
Reviewed-by: Marek Olšák
---
src/gallium/drivers/trace/tr_context.c| 38 +++
src/gallium/drivers/trace/tr_dump_state.c | 18 +++
src/gallium/drivers/trace/tr_dump_state.h | 2
Hi,
I have decided to revert this patch, because it breaks a bunch GS piglit tests.
Next time please make sure there are no piglit regressions.
Thanks,
Marek
On Sat, Jan 23, 2016 at 1:41 AM, Ilia Mirkin wrote:
> On Thu, Jan 21, 2016 at 10:17 AM, Marta Lofstedt
> wrote:
>> From: Marta Lofstedt
https://bugs.freedesktop.org/show_bug.cgi?id=25663
Timothy Arceri changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://bugs.freedesktop.org/show_bug.cgi?id=50996
Timothy Arceri changed:
What|Removed |Added
Resolution|--- |INVALID
Status|NEW
https://bugs.freedesktop.org/show_bug.cgi?id=38705
Timothy Arceri changed:
What|Removed |Added
Resolution|--- |INVALID
Status|NEEDINFO
https://bugs.freedesktop.org/show_bug.cgi?id=18643
Timothy Arceri changed:
What|Removed |Added
Assignee|mesa-dev@lists.freedesktop. |i...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=89238
Timothy Arceri changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://bugs.freedesktop.org/show_bug.cgi?id=79706
Bug 79706 depends on bug 89773, which changed state.
Bug 89773 Summary: "builtin_functions.cpp", line 3218: Error: INFINITY is not
defined.
https://bugs.freedesktop.org/show_bug.cgi?id=89773
What|Removed |Added
https://bugs.freedesktop.org/show_bug.cgi?id=89773
Timothy Arceri changed:
What|Removed |Added
Resolution|--- |WONTFIX
Status|NEEDINFO
From: Tomasz Paweł Gajc
Currently, building with clang fails due to:
error in backend: symbol 'x86_64_entry_start' is already defined
This patch fixes it.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89599
---
src/mapi/entry_x86-64_tls.h | 4 ++--
src/mapi/entry_x86_tls.h| 4 ++-
https://bugs.freedesktop.org/show_bug.cgi?id=13986
Timothy Arceri changed:
What|Removed |Added
Resolution|--- |WONTFIX
Status|NEW
https://bugs.freedesktop.org/show_bug.cgi?id=34692
Timothy Arceri changed:
What|Removed |Added
Resolution|--- |WONTFIX
Status|NEW
https://bugs.freedesktop.org/show_bug.cgi?id=4965
Timothy Arceri changed:
What|Removed |Added
Resolution|--- |INVALID
Status|NEW
https://bugs.freedesktop.org/show_bug.cgi?id=79852
Timothy Arceri changed:
What|Removed |Added
Resolution|--- |INVALID
Status|NEW
On 2016-01-23 11:06:48, Kenneth Graunke wrote:
> On Thursday, January 21, 2016 11:35:31 PM PST Jordan Justen wrote:
> > Signed-off-by: Jordan Justen
> > ---
> >
> > I tested a release build. I think v1 produced comparable code to
> > before the patch, but it was a bit larger. I found that this
https://bugs.freedesktop.org/show_bug.cgi?id=59225
Timothy Arceri changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEEDINFO
62 matches
Mail list logo