https://bugs.freedesktop.org/show_bug.cgi?id=77449
Bug 77449 depends on bug 79948, which changed state.
Bug 79948 Summary: [i965] Incorrect pixels when using discard and uniform loads
https://bugs.freedesktop.org/show_bug.cgi?id=79948
What|Removed |Added
--
Hi list,
This is my second try to add multithread support for the GLSL compiler.
Changes since v1 are
- glLinkProgram can now be threaded
- added ctx->Const.DeferCompileShader and ctx->Const.DeferLinkProgram to
allow drivers to control what get threaded
- minimal changes to i965 to enable D
This thread pool will be used by contexts to queue compilation tasks.
Signed-off-by: Chia-I Wu
---
src/glsl/glsl_parser_extras.cpp | 4 +++
src/glsl/threadpool.c | 72 +
src/glsl/threadpool.h | 9 ++
3 files changed, 85 insertions
Split do_vs_prog into
brw_vs_init_compile
brw_vs_do_compile
brw_vs_upload_compile
brw_vs_clear_complile
Signed-off-by: Chia-I Wu
---
src/mesa/drivers/dri/i965/brw_vec4.h | 6 ++
src/mesa/drivers/dri/i965/brw_vs.c | 117 ++-
src/mesa/drivers/dri/i965/b
It can be used to implement, for example, threaded glCompileShader and
glLinkProgram.
v2: allow tasks to "complete" other tasks
Signed-off-by: Chia-I Wu
---
src/glsl/Makefile.am | 12 +-
src/glsl/Makefile.sources | 3 +-
src/glsl/tests/threadpool_test.cpp | 137 +++
We want to add a static object to initialize locale_t in the following commit.
Signed-off-by: Chia-I Wu
---
src/glsl/Makefile.sources | 2 +-
src/glsl/strtod.c | 79 ---
src/glsl/strtod.cpp | 79 ++
The compiler may be used by multiple contexts simultaneously and needs to be
thread-safe.
Signed-off-by: Chia-I Wu
---
src/glsl/strtod.cpp | 29 +++--
1 file changed, 15 insertions(+), 14 deletions(-)
diff --git a/src/glsl/strtod.cpp b/src/glsl/strtod.cpp
index 5d4346b..
We are about to change mesa to spawn threads for deferred glCompileShader and
glLinkProgram, and we need to make sure those threads can send compiler
warnings/errors to the debug output safely.
Signed-off-by: Chia-I Wu
---
src/mesa/main/errors.c | 172 +++-
Split do_gs_prog into
brw_gs_init_compile
brw_gs_do_compile
brw_gs_upload_compile
brw_gs_clear_complile
Signed-off-by: Chia-I Wu
---
src/mesa/drivers/dri/i965/brw_vec4_gs.c | 153
1 file changed, 96 insertions(+), 57 deletions(-)
diff --git a/src/mesa/d
Add _mesa_enable_glsl_threadpool to enable the thread pool for a context, and
add ctx->Const.DeferCompileShader and ctx->Const.DeferLinkProgram to
fine-control what gets threaded.
Setting DeferCompileShader to true will make _mesa_glsl_compile_shader be
executed in a worker thread. The function i
Inherit gl_shader_program and add save/restore functions to save precompile
results in the shader programs. When DeferLinkProgram is set, we will save
the precompile results instead of uploading them immediately because we may be
on a different thread.
A few other modifications are also needed.
Setting it to a non-zero value N will cause shader compilation to be deferred
to a thread pool. When N is greater than 1, it indicates the maximum number
of threads in the pool. When N is 1, the number of threads is up to the
driver (two for i965).
Signed-off-by: Chia-I Wu
---
src/mesa/drivers
glsl_type has several static hash tables and a static ralloc context. They
need to be protected by a mutex as they are not thread-safe.
Signed-off-by: Chia-I Wu
---
src/glsl/glsl_types.cpp | 57 +++--
src/glsl/glsl_types.h | 15 +
2 file
Split do_wm_prog into
brw_wm_init_compile
brw_wm_do_compile
brw_wm_upload_compile
brw_wm_clear_complile
Add struct brw_wm_compile to be passed around them.
Signed-off-by: Chia-I Wu
---
src/mesa/drivers/dri/i965/brw_wm.c | 119 -
src/mesa/drivers/dri/
There may be two contexts compiling shaders at the same time, and we want the
anonymous struct id to be globally unique.
Signed-off-by: Chia-I Wu
---
src/glsl/glsl_parser_extras.cpp | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/src/glsl/glsl_parser_extras.cpp b/s
On 07/08/2014 06:27 PM, Marek Olšák wrote:
It would be nicer to define all the types as enums, e.g. enum
pipe_driver_query_type { PIPE_DRIVER_QUERY_TYPE_BYTES,
PIPE_DRIVER_QUERY_TYPE_PERCENTAGE, PIPE_DRIVER_QUERY_TYPE_FLOAT,
PIPE_DRIVER_QUERY_TYPE_UINT };
That would be nicer than a bunch of bool
Hello,
This is the third version of GL_AMD_performance_monitor.
V2 (global changes):
- Fix radeon as pinpointed by Marek
- Implement pipe_driver_query_group_info for svga, radeon and
freedreno
V3 (global changes):
- Re-organize the series according to hints of Ilia Mirkin
- Document pipe_
This will be used by GL_AMD_performance_monitor.
V2:
- add 'uint32_t u32'
- rename 'float f32' to 'float f'
- add some comments
Signed-off-by: Samuel Pitoiset
---
src/gallium/include/pipe/p_defines.h | 8
1 file changed, 8 insertions(+)
diff --git a/src/gallium/include/pipe/p_defin
Driver queries are organized as a single hierarchy where queries
are categorized into groups. Each goup has a list of queries and
a maximum number of queries that can be sampled.
This will be used by GL_AMD_performance monitor.
V2:
- add doc to src/gallium/docs/source/screen.rst
- s/pipe_contex
According to the spec of GL_AMD_performance_monitor, valid type values
returned are UNSIGNED_INT, UNSIGNED_INT64_AMD, PERCENTAGE_AMD, FLOAT.
This also introduces the new field group_id in order to categorize
queries into groups.
V2:
- add pipe_driver_query_type enum
Signed-off-by: Samuel Pitoise
This can be used to check if a query is unable to start.
Signed-off-by: Samuel Pitoiset
---
src/gallium/drivers/freedreno/freedreno_query.c| 4 ++--
src/gallium/drivers/freedreno/freedreno_query.h| 2 +-
src/gallium/drivers/freedreno/freedreno_query_hw.c | 3 ++-
src/gallium/drivers/f
V2:
- do not return immediately after nvc0_mp_pm_query_end() in
order to set the current state of the given query
Signed-off-by: Samuel Pitoiset
---
src/gallium/drivers/nouveau/nvc0/nvc0_query.c | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/src/gallium/drive
From: Christoph Bumiller
This is based on the original patch of Christoph Bumiller.
(source: http://people.freedesktop.org/~chrisbmr/perfmon.diff)
Drivers must implement get_driver_query_group_info and
get_driver_query_info in order to enable this extension.
V2: (Samuel Pitoiset)
- fix compila
This adds a new group for MP performance counters and requires
to write our own implementation of get_driver_query_group_info.
Signed-off-by: Samuel Pitoiset
---
src/gallium/drivers/nouveau/nvc0/nvc0_query.c | 52 --
src/gallium/drivers/nouveau/nvc0/nvc0_screen.h | 5 ++
This will be used to return different numeric types for
driver queries.
V2:
- use float instead of double
- reorder pipe_numeric_type_union to avoid bad initializers
- rename ui to u64 and i to u32 according to
gl_perf_monitor_counter_value
- use uint32_t instead of int64_t according to
This enables GL_AMD_performance_monitor for radeon.
V2:
- s/pipe_context/pipe_screen in the commit msg
V3:
- use util_get_driver_query_group_info
Signed-off-by: Samuel Pitoiset
---
src/gallium/drivers/radeon/r600_pipe_common.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/src/
Signed-off-by: Samuel Pitoiset
---
src/gallium/drivers/nouveau/nvc0/nvc0_query.c | 15 ---
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_query.c
b/src/gallium/drivers/nouveau/nvc0/nvc0_query.c
index fcca1cb..6f9a1e6 100644
--- a/s
This generic function will be used to get groups of queries.
Signed-off-by: Samuel Pitoiset
---
src/gallium/auxiliary/Makefile.sources | 1 +
src/gallium/auxiliary/util/u_query.c | 46 ++
src/gallium/auxiliary/util/u_query.h | 44 +
GL_AMD_performance_monitor is supported by nvc0, svga, freedreno and
radeon.
Signed-off-by: Samuel Pitoiset
---
docs/relnotes/10.3.html | 1 +
1 file changed, 1 insertion(+)
diff --git a/docs/relnotes/10.3.html b/docs/relnotes/10.3.html
index 2e718fc..e73e078 100644
--- a/docs/relnotes/10.3.htm
This enables GL_AMD_performance_monitor for svga.
V2:
- s/pipe_context/pipe_screen in the commit msg
V3:
- use util_get_driver_query_group_info
Signed-off-by: Samuel Pitoiset
---
src/gallium/drivers/svga/svga_screen.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/src/galli
This enables GL_AMD_performance_monitor for nvc0.
V2:
- use util_get_driver_query_group_info
Signed-off-by: Samuel Pitoiset
---
src/gallium/drivers/nouveau/nvc0/nvc0_query.c | 10 ++
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 1 +
src/gallium/drivers/nouveau/nvc0/nvc0_screen.h
This enables GL_AMD_performance_monitor for freedreno.
V2:
- s/pipe_context/pipe_screen in the commit msg
V3:
- use util_get_driver_query_group_info
Signed-off-by: Samuel Pitoiset
---
src/gallium/drivers/freedreno/freedreno_query.c | 9 +
1 file changed, 9 insertions(+)
diff --git a
From: Christian König
Signed-off-by: Christian König
---
src/gallium/drivers/radeonsi/si_dma.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/gallium/drivers/radeonsi/si_dma.c
b/src/gallium/drivers/radeonsi/si_dma.c
index dc8c609..26f1e1b 100644
--- a/src/gallium/dri
In the subject, we usually use "st/mesa:".
On 07/09/2014 08:34 AM, Samuel Pitoiset wrote:
From: Christoph Bumiller
This is based on the original patch of Christoph Bumiller.
(source: http://people.freedesktop.org/~chrisbmr/perfmon.diff)
Drivers must implement get_driver_query_group_info and
On 07/09/2014 08:34 AM, Samuel Pitoiset wrote:
This enables GL_AMD_performance_monitor for svga.
V2:
- s/pipe_context/pipe_screen in the commit msg
V3:
- use util_get_driver_query_group_info
Signed-off-by: Samuel Pitoiset
---
src/gallium/drivers/svga/svga_screen.c | 11 +++
1 f
On 07/09/2014 08:34 AM, Samuel Pitoiset wrote:
This generic function will be used to get groups of queries.
Signed-off-by: Samuel Pitoiset
---
src/gallium/auxiliary/Makefile.sources | 1 +
src/gallium/auxiliary/util/u_query.c | 46 ++
src/gallium/auxiliary
Reviewed-by: Marek Olšák
Marek
On Wed, Jul 9, 2014 at 2:38 PM, Christian König wrote:
> From: Christian König
>
> Signed-off-by: Christian König
> ---
> src/gallium/drivers/radeonsi/si_dma.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/src/gallium/drivers/radeon
On 07/08/2014 08:40 PM, Ilia Mirkin wrote:
Signed-off-by: Ilia Mirkin
---
With ChrisF's patches to add support for this in core mesa, this generates
code like:
FRAG
DCL OUT[0], COLOR
DCL CONST[0]
DCL CONST[1][0]
DCL CONST[2][0]
DCL CONST[3][0]
DCL CONST[4][0]
DCL TEMP[0], LOCAL
DCL ADDR[0..1]
On Wed, Jul 9, 2014 at 8:38 AM, Christian König wrote:
> From: Christian König
>
> Signed-off-by: Christian König
CC stable?
Alex
> ---
> src/gallium/drivers/radeonsi/si_dma.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/src/gallium/drivers/radeonsi/si_dma.c
>
Also radeonsi, because the query code shared between both drivers.
Marek
On Wed, Jul 9, 2014 at 4:34 PM, Samuel Pitoiset
wrote:
> GL_AMD_performance_monitor is supported by nvc0, svga, freedreno and
> radeon.
>
> Signed-off-by: Samuel Pitoiset
> ---
> docs/relnotes/10.3.html | 1 +
> 1 file ch
On 07/09/2014 03:10 PM, Marek Olšák wrote:
Also radeonsi, because the query code shared between both drivers.
Added, thanks.
Marek
On Wed, Jul 9, 2014 at 4:34 PM, Samuel Pitoiset
wrote:
GL_AMD_performance_monitor is supported by nvc0, svga, freedreno and
radeon.
Signed-off-by: Samuel Pit
On 07/09/2014 03:00 PM, Brian Paul wrote:
On 07/09/2014 08:34 AM, Samuel Pitoiset wrote:
This enables GL_AMD_performance_monitor for svga.
V2:
- s/pipe_context/pipe_screen in the commit msg
V3:
- use util_get_driver_query_group_info
Signed-off-by: Samuel Pitoiset
---
src/gallium/driver
On 07/09/2014 03:00 PM, Brian Paul wrote:
On 07/09/2014 08:34 AM, Samuel Pitoiset wrote:
This generic function will be used to get groups of queries.
Signed-off-by: Samuel Pitoiset
---
src/gallium/auxiliary/Makefile.sources | 1 +
src/gallium/auxiliary/util/u_query.c | 46
++
Am 09.07.2014 02:37, schrieb Ilia Mirkin:
> On Sat, Jul 5, 2014 at 5:20 PM, Roland Scheidegger wrote:
>> Am 05.07.2014 06:07, schrieb Ilia Mirkin:
>>> The new location field can be either center, centroid, or sample, which
>>> indicates the location that the shader should interpolate at.
>> Looks
On 07/09/2014 03:00 PM, Brian Paul wrote:
In the subject, we usually use "st/mesa:".
Okay.
On 07/09/2014 08:34 AM, Samuel Pitoiset wrote:
From: Christoph Bumiller
This is based on the original patch of Christoph Bumiller.
(source: http://people.freedesktop.org/~chrisbmr/perfmon.diff)
Dr
On 07/09/2014 01:47 AM, Chia-I Wu wrote:
It can be used to implement, for example, threaded glCompileShader and
glLinkProgram.
v2: allow tasks to "complete" other tasks
Signed-off-by: Chia-I Wu
---
src/glsl/Makefile.am | 12 +-
src/glsl/Makefile.sources | 3 +-
sr
On 07/09/2014 01:47 AM, Chia-I Wu wrote:
Add _mesa_enable_glsl_threadpool to enable the thread pool for a context, and
add ctx->Const.DeferCompileShader and ctx->Const.DeferLinkProgram to
fine-control what gets threaded.
Setting DeferCompileShader to true will make _mesa_glsl_compile_shader be
e
On 07/09/2014 01:47 AM, Chia-I Wu wrote:
Hi list,
This is my second try to add multithread support for the GLSL compiler.
Changes since v1 are
- glLinkProgram can now be threaded
- added ctx->Const.DeferCompileShader and ctx->Const.DeferLinkProgram to
allow drivers to control what get t
On Wed, Jul 9, 2014 at 12:29 AM, Ilia Mirkin wrote:
> Signed-off-by: Ilia Mirkin
> ---
> src/gallium/auxiliary/tgsi/tgsi_text.c | 7 +++
> 1 file changed, 7 insertions(+)
>
> diff --git a/src/gallium/auxiliary/tgsi/tgsi_text.c
> b/src/gallium/auxiliary/tgsi/tgsi_text.c
> index c6134c5..6403
On Tuesday, July 08, 2014 11:19:38 AM Iago Toral wrote:
> Hi,
>
> I have some code that first initializes a register and then overwrites a
> specific subregister. However, after the optimization passes in
> brw_vec4.cpp the initialization instruction goes away. I see that live
> intervals are compu
The _msaa shaders weren't getting freed.
Cc: "10.2"
---
src/gallium/auxiliary/util/u_blitter.c |9 +
1 file changed, 9 insertions(+)
diff --git a/src/gallium/auxiliary/util/u_blitter.c
b/src/gallium/auxiliary/util/u_blitter.c
index db0d1b8..20fbd80 100644
--- a/src/gallium/auxiliary
On Wed, Jul 9, 2014 at 8:19 AM, Kenneth Graunke wrote:
> On Tuesday, July 08, 2014 11:19:38 AM Iago Toral wrote:
>
>> Hi,
>
>>
>
>> I have some code that first initializes a register and then overwrites a
>
>> specific subregister. However, after the optimization passes in
>
>> brw_vec4.cpp the in
https://bugs.freedesktop.org/show_bug.cgi?id=80848
Bryan Cain changed:
What|Removed |Added
Hardware|x86-64 (AMD64) |All
Assignee|i...@freedesktop.org
Reviewed-by: Marek Olšák
Marek
On Wed, Jul 9, 2014 at 5:42 PM, Brian Paul wrote:
> The _msaa shaders weren't getting freed.
> Cc: "10.2"
> ---
> src/gallium/auxiliary/util/u_blitter.c |9 +
> 1 file changed, 9 insertions(+)
>
> diff --git a/src/gallium/auxiliary/util/u_blitter.c
https://bugs.freedesktop.org/show_bug.cgi?id=80933
--- Comment #3 from Benjamin Bellec ---
(In reply to comment #0)
> See also: https://github.com/ValveSoftware/Dota-2/issues/886
In this thread, all the bugs reports have been done with a proprietary driver
(NVIDIA mostly, and also AMD).
--
You
---
src/mesa/state_tracker/st_format.c |4
1 file changed, 4 insertions(+)
diff --git a/src/mesa/state_tracker/st_format.c
b/src/mesa/state_tracker/st_format.c
index 38d4ccf..a821180 100644
--- a/src/mesa/state_tracker/st_format.c
+++ b/src/mesa/state_tracker/st_format.c
@@ -83,6 +83,8
as a candidate for the GL_RGB10_A2 internal texture format.
---
src/mesa/state_tracker/st_format.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/mesa/state_tracker/st_format.c
b/src/mesa/state_tracker/st_format.c
index a821180..409079b 100644
--- a/src/mesa/state_tr
Otherwise we'd compare uninitialized pointers with NULL and dereference,
leading to crashes.
---
src/mesa/drivers/dri/i965/intel_asm_annotation.c | 4
1 file changed, 4 insertions(+)
diff --git a/src/mesa/drivers/dri/i965/intel_asm_annotation.c
b/src/mesa/drivers/dri/i965/intel_asm_annotati
A similar attempt was made in commit 5ff1e446 and was reverted in commit
a39428cf after causing a regression in an ES 3 conformance test. The
test still passes after this commit.
total instructions in shared programs: 1994827 -> 1992858 (-0.10%)
instructions in affected programs: 128247 -> 126
For the series:
Reviewed-by: Marek Olšák
Marek
On Wed, Jul 9, 2014 at 8:51 PM, Brian Paul wrote:
> ---
> src/mesa/state_tracker/st_format.c |4
> 1 file changed, 4 insertions(+)
>
> diff --git a/src/mesa/state_tracker/st_format.c
> b/src/mesa/state_tracker/st_format.c
> index 38d4cc
If the driver queries are defined as an array, you can also use the
Elements macro on the array.
Marek
On Wed, Jul 9, 2014 at 3:41 PM, Samuel Pitoiset
wrote:
> On 07/09/2014 03:00 PM, Brian Paul wrote:
>>
>> On 07/09/2014 08:34 AM, Samuel Pitoiset wrote:
>>>
>>> This enables GL_AMD_performance_m
https://bugs.freedesktop.org/show_bug.cgi?id=80848
Emil Velikov changed:
What|Removed |Added
Assignee|mesa-dev@lists.freedesktop. |kei...@keithp.com
|org
On Thu, Jul 3, 2014 at 22:13:53 +0200, Adel Gadllah wrote:
> Commit 442442026eb updated both i915 and i965 for DRI3 support,
> but one check in intelInitScreen2 was missed for i915 causing crashes
> when trying to use i915 with DRI3.
>
> So fix that up.
>
> Reported-by: Igor Gnatenko
> Tested-
On 07/09/2014 09:49 PM, Marek Olšák wrote:
If the driver queries are defined as an array, you can also use the
Elements macro on the array.
For sure, but we can't do that here since the array is local to the
get_driver_query_info() callback.
Marek
On Wed, Jul 9, 2014 at 3:41 PM, Samuel Pi
Well, the array can always be moved outside of the function and be
declared as static.
Marek
On Thu, Jul 10, 2014 at 12:27 AM, Samuel Pitoiset
wrote:
> On 07/09/2014 09:49 PM, Marek Olšák wrote:
>>
>> If the driver queries are defined as an array, you can also use the
>> Elements macro on the ar
On 07/08/2014 12:20 PM, Connor Abbott wrote:
> Signed-off-by: Connor Abbott
> ---
> src/glsl/list.h | 20
> 1 file changed, 20 insertions(+)
>
> diff --git a/src/glsl/list.h b/src/glsl/list.h
> index ca6ee9d..68ab3fd 100644
> --- a/src/glsl/list.h
> +++ b/src/glsl/list.h
> @
Reviewed-by: Ian Romanick
On 07/08/2014 12:20 PM, Connor Abbott wrote:
> This complements the existing append function. It's implemented in a
> rather simple way right now; it could be changed if performance is a
> concern.
>
> Signed-off-by: Connor Abbott
> ---
> src/glsl/list.h | 20
Wow. It's surprising how many places that shows up!
Reviewed-by: Ian Romanick
On 07/08/2014 12:21 PM, Connor Abbott wrote:
> Instead of hand-rolling it.
>
> Signed-off-by: Connor Abbott
> ---
> src/glsl/ast_to_hir.cpp | 4 +---
> src/glsl/ir_reader.cpp
On Tue, Jul 8, 2014 at 12:20 PM, Connor Abbott wrote:
> Signed-off-by: Connor Abbott
> ---
> src/glsl/list.h | 20
> 1 file changed, 20 insertions(+)
>
> diff --git a/src/glsl/list.h b/src/glsl/list.h
> index ca6ee9d..68ab3fd 100644
> --- a/src/glsl/list.h
> +++ b/src/glsl/l
---
src/glsl/glcpp/glcpp-parse.y |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/glsl/glcpp/glcpp-parse.y b/src/glsl/glcpp/glcpp-parse.y
index 21c85b4..084078e 100644
--- a/src/glsl/glcpp/glcpp-parse.y
+++ b/src/glsl/glcpp/glcpp-parse.y
@@ -265,13 +265,14 @@ control_li
On Wednesday, July 09, 2014 03:56:41 PM Ian Romanick wrote:
> On 07/08/2014 12:20 PM, Connor Abbott wrote:
> > Signed-off-by: Connor Abbott
> > ---
> >
> > src/glsl/list.h | 20
> > 1 file changed, 20 insertions(+)
> >
> > diff --git a/src/glsl/list.h b/src/glsl/list.h
> >
On Wed, 2014-07-02 at 22:16 +1000, Timothy Arceri wrote:
> On Tue, 2014-07-01 at 14:45 -0700, Kenneth Graunke wrote:
> > From: Cody Northrop
> >
> > Vectors are falling in to the ir_dereference_array() path.
> >
> > Without this change, the following glsl aborts the debug driver,
> > or gets the
Brian Paul writes:
Thanks for the fix, Brian.
Reviewed-by: Carl Worth
-Carl
pgpRbh_5gMWxy.pgp
Description: PGP signature
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
On Wed, Jul 9, 2014 at 4:00 PM, Connor Abbott wrote:
> On Wednesday, July 09, 2014 03:56:41 PM Ian Romanick wrote:
>> On 07/08/2014 12:20 PM, Connor Abbott wrote:
>> > Signed-off-by: Connor Abbott
>> > ---
>> >
>> > src/glsl/list.h | 20
>> > 1 file changed, 20 insertions(+)
On Thu, Jun 19, 2014 at 6:11 AM, Tapani Pälli wrote:
> This fixes following tests in es3conform:
>
>shaders.switch.default_not_last_dynamic_vertex
>shaders.switch.default_not_last_dynamic_fragment
>
> and makes following tests in Piglit pass:
>
>glsl-1.30/execution/switch/fs-default-no
Commit 54e91e7420 introduced a function declaration that uses
brw_context. While brw_context tends to get included in most files, it
is not when compiling intel_asm_annotation.c resulting in the following
warning:
In file included from brw_shader.h:25:0,
from brw_cfg.h:32,
Signed-off-by: Ilia Mirkin
---
Happened to notice the warning when compiling r600. Perhaps the use got
removed in some LLVM version cleanup? I didn't think it was important to go
digging though.
src/gallium/drivers/r600/r600_llvm.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/gallium/
On 10.07.2014 10:26, Ilia Mirkin wrote:
> Signed-off-by: Ilia Mirkin
> ---
>
> Happened to notice the warning when compiling r600. Perhaps the use got
> removed in some LLVM version cleanup? I didn't think it was important to go
> digging though.
>
> src/gallium/drivers/r600/r600_llvm.c | 1 -
>
On Wed, Jul 9, 2014 at 10:42 PM, Brian Paul wrote:
> On 07/09/2014 01:47 AM, Chia-I Wu wrote:
>>
>> It can be used to implement, for example, threaded glCompileShader and
>> glLinkProgram.
>>
>> v2: allow tasks to "complete" other tasks
>>
>> Signed-off-by: Chia-I Wu
>> ---
>> src/glsl/Makefile
On Wed, Jul 9, 2014 at 10:42 PM, Brian Paul wrote:
> On 07/09/2014 01:47 AM, Chia-I Wu wrote:
>>
>> Add _mesa_enable_glsl_threadpool to enable the thread pool for a context,
>> and
>> add ctx->Const.DeferCompileShader and ctx->Const.DeferLinkProgram to
>> fine-control what gets threaded.
>>
>> Set
On Wednesday, July 09, 2014 09:26:49 PM Ilia Mirkin wrote:
> Commit 54e91e7420 introduced a function declaration that uses
> brw_context. While brw_context tends to get included in most files, it
> is not when compiling intel_asm_annotation.c resulting in the following
> warning:
>
> In file includ
https://bugs.freedesktop.org/show_bug.cgi?id=81139
Priority: medium
Bug ID: 81139
Assignee: mesa-dev@lists.freedesktop.org
Summary: Rendering sometimes halts in waiting for back buffers
with dri3 & xwayland
Severity: normal
https://bugs.freedesktop.org/show_bug.cgi?id=81139
--- Comment #1 from Axel Davy ---
Could you tell which distribution you are using ?
My guess it that it is a libxcb bug.
Debian packages have the fix (which is
http://cgit.freedesktop.org/xcb/libxcb/commit/?id=3b72a2c9d1d656c74c691a45689e1d637f6
https://bugs.freedesktop.org/show_bug.cgi?id=81139
--- Comment #2 from Boyan Ding ---
(In reply to comment #1)
> Could you tell which distribution you are using ?
I'm using Arch Linux, in which almost everything is vanilla.
> My guess it that it is a libxcb bug.
> Debian packages have the fix (
https://bugs.freedesktop.org/show_bug.cgi?id=81139
--- Comment #3 from Boyan Ding ---
Created attachment 102515
--> https://bugs.freedesktop.org/attachment.cgi?id=102515&action=edit
A simple program that can effectively trigger the halt on my machine
The problem persists with that patch.
This
From: Christoph Bumiller
Reviewed-by: Ilia Mirkin
---
docs/GL3.txt | 5 +-
docs/relnotes/10.3.html| 1 +
src/gallium/drivers/nouveau/nouveau_screen.c | 6 +-
src/gallium/drivers/nouveau/nv50/nv50_3d.xml.h | 2 +-
sr
From: Christoph Bumiller
Reviewed-by: Ilia Mirkin
---
.../drivers/nouveau/nvc0/nvc0_vbo_translate.c | 41 +++---
1 file changed, 28 insertions(+), 13 deletions(-)
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_vbo_translate.c
b/src/gallium/drivers/nouveau/nvc0/nvc0_vb
The main patches are from Christoph. Unfortunately they're a little beyond my
understanding of all the vertex-related details, but they generally seemed
fine. I'm just going to push these unless someone steps up to review them.
Christoph Bumiller (2):
nvc0: add support for indirect drawing
nvc
nouveau_fence_update does real work unconditionally. Avoid doing that if
the fence we're checking on has already been signalled.
Signed-off-by: Ilia Mirkin
---
src/gallium/drivers/nouveau/nouveau_fence.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/gallium/drivers/nouveau/nouveau_f
Hi Kenneth,
El 2014-07-09 17:19, Kenneth Graunke escribió:
On Tuesday, July 08, 2014 11:19:38 AM Iago Toral wrote:
Hi,
I have some code that first initializes a register and then
overwrites a
specific subregister. However, after the optimization passes in
brw_vec4.cpp the initiali
90 matches
Mail list logo