Simplifies the logic a little and asserts index is 0.
Suggested-by: Nicolai Hähnle
---
src/amd/common/ac_llvm_build.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/amd/common/ac_llvm_build.c b/src/amd/common/ac_llvm_build.c
index faa08b6301c..a31f225e177 100644
--
Reviewed-by: Nicolai Hähnle
---
src/amd/common/ac_nir_to_llvm.c | 20 +--
src/amd/common/ac_shader_abi.h | 4 +++
src/gallium/drivers/radeonsi/si_shader.c | 42 +++-
3 files changed, 42 insertions(+), 24 deletions(-)
diff --git a/src/am
Reviewed-by: Nicolai Hähnle
---
src/gallium/auxiliary/tgsi/tgsi_from_mesa.c | 11 ---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/src/gallium/auxiliary/tgsi/tgsi_from_mesa.c
b/src/gallium/auxiliary/tgsi/tgsi_from_mesa.c
index c014115918e..659156b5190 100644
--- a/src/ga
This will be shared by the tgsi and nir backends.
Reviewed-by: Nicolai Hähnle
---
src/gallium/drivers/radeonsi/si_shader.c | 31 ++-
1 file changed, 18 insertions(+), 13 deletions(-)
diff --git a/src/gallium/drivers/radeonsi/si_shader.c
b/src/gallium/drivers/radeons
Reviewed-by: Nicolai Hähnle
---
src/gallium/drivers/radeonsi/si_shader.h| 3 +++
src/gallium/drivers/radeonsi/si_shader_nir.c| 19 +++
src/gallium/drivers/radeonsi/si_state_shaders.c | 1 +
3 files changed, 23 insertions(+)
diff --git a/src/gallium/drivers/radeonsi/
Reviewed-by: Nicolai Hähnle
---
src/gallium/drivers/radeonsi/si_shader.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/src/gallium/drivers/radeonsi/si_shader.c
b/src/gallium/drivers/radeonsi/si_shader.c
index 4823da7a763..04dae8edd13 100644
--- a/src/gallium/driv
Reviewed-by: Nicolai Hähnle
---
src/gallium/drivers/radeonsi/si_shader_nir.c | 2 ++
src/mesa/state_tracker/st_glsl_to_nir.cpp| 4 +++-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/gallium/drivers/radeonsi/si_shader_nir.c
b/src/gallium/drivers/radeonsi/si_shader_nir.c
in
Fixes the following piglit tests in radeonsi:
vs-tcs-tes-tessinner-tessouter-inputs-quads.shader_test
vs-tcs-tes-tessinner-tessouter-inputs-tris.shader_test
vs-tes-tessinner-tessouter-inputs-quads.shader_test
vs-tes-tessinner-tessouter-inputs-tris.shader_test
Reviewed-by: Nicolai Hähnle
---
src
Reviewed-by: Nicolai Hähnle
---
src/gallium/drivers/radeonsi/si_shader_nir.c | 29
1 file changed, 29 insertions(+)
diff --git a/src/gallium/drivers/radeonsi/si_shader_nir.c
b/src/gallium/drivers/radeonsi/si_shader_nir.c
index 4138e04dcb5..d2760b03bca 100644
--- a/s
This allows us to pass the llvm param directly rather than looking
it up.
Reviewed-by: Nicolai Hähnle
---
src/gallium/drivers/radeonsi/si_shader.c | 18 --
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/src/gallium/drivers/radeonsi/si_shader.c
b/src/gallium/drive
Reviewed-by: Nicolai Hähnle
---
src/amd/common/ac_nir_to_llvm.c | 22 +++---
src/amd/common/ac_shader_abi.h| 2 ++
src/gallium/drivers/radeonsi/si_shader.c | 17 -
src/gallium/drivers/radeonsi/si_shader_internal.h |
Reviewed-by: Nicolai Hähnle
---
src/amd/common/ac_nir_to_llvm.c | 15 +++
src/amd/common/ac_shader_abi.h| 1 +
src/gallium/drivers/radeonsi/si_shader.c | 19 ++-
src/gallium/drivers/radeonsi/si_shader_internal.h | 1 -
4
Reviewed-by: Nicolai Hähnle
---
src/gallium/drivers/radeonsi/si_shader.c | 124 +++
1 file changed, 124 insertions(+)
diff --git a/src/gallium/drivers/radeonsi/si_shader.c
b/src/gallium/drivers/radeonsi/si_shader.c
index c5ca699ac00..a8f425b50ee 100644
--- a/src/gall
This also enables some code sharing with tes.
V2: drop type param and just use ctx->i32
---
src/amd/common/ac_nir_to_llvm.c | 36 +---
1 file changed, 17 insertions(+), 19 deletions(-)
diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c
V2: drop type param and just use ctx->i32
---
src/gallium/drivers/radeonsi/si_shader.c | 48 +++
src/gallium/drivers/radeonsi/si_shader_internal.h | 11 ++
2 files changed, 59 insertions(+)
diff --git a/src/gallium/drivers/radeonsi/si_shader.c
b/src/gallium/drive
This will be used by both the tgsi and nir backends.
Reviewed-by: Nicolai Hähnle
---
src/gallium/drivers/radeonsi/si_shader.c | 76 +++-
1 file changed, 46 insertions(+), 30 deletions(-)
diff --git a/src/gallium/drivers/radeonsi/si_shader.c
b/src/gallium/drivers/rad
V2: drop type param and just use ctx->i32
---
src/amd/common/ac_nir_to_llvm.c | 62
src/amd/common/ac_shader_abi.h | 11 ++
src/gallium/drivers/radeonsi/si_shader.c | 1 +
3 files changed, 52 insertions(+), 22 deletions(-)
diff --git a/src/
Reviewed-by: Nicolai Hähnle
---
src/amd/common/ac_nir_to_llvm.c | 63 +
src/amd/common/ac_shader_abi.h | 12
2 files changed, 51 insertions(+), 24 deletions(-)
diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c
index f
V2: drop type param and just use ctx->i32
---
src/gallium/drivers/radeonsi/si_shader.c | 45
1 file changed, 45 insertions(+)
diff --git a/src/gallium/drivers/radeonsi/si_shader.c
b/src/gallium/drivers/radeonsi/si_shader.c
index 5ef95589c2a..c5ca699ac00 100644
--
We will call these from the radeonsi NIR backend.
Reviewed-by: Nicolai Hähnle
---
src/amd/common/ac_llvm_build.c | 24 +
src/amd/common/ac_llvm_build.h | 8 ++
src/amd/common/ac_nir_to_llvm.c | 58 +
3 files changed, 50 insertions(+)
Hi,
Just got confirmation that kernel does the syncing required to make sure that
pread values are realiable.
-Kevin
-Original Message-
From: Rogovin, Kevin
Sent: Wednesday, December 13, 2017 8:19 AM
To: 'Jason Ekstrand'
Cc: mesa-dev@lists.freedesktop.org; Lahtinen, Joonas
Subject:
Hi,
> I think you want to do this at the end of submit_batch instead and add a
> brw_bo_wait_rendering on the batch.
> Otherwise, your bounds checking is racing with the GPU.
I remember being told that pread has the kernel do the required waiting,
however I am not 100% sure of this (which is
Hi,
Thankyou for reading the code and giving advice to improve upon it. Below are
some thoughts:
> I can't help but think that this could be a bit simpler and involve throwing
> fewer pointers around.
I was thinking this too; the easiest way to do this is to just have the same
noise for all
Reviewed-by: Timothy Arceri
On 13/12/17 09:20, Jordan Justen wrote:
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103988
Signed-off-by: Jordan Justen
---
src/mesa/program/ir_to_mesa.cpp | 16 +---
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/src/mesa/pr
On Tue, 2017-12-12 at 12:08 -0800, Francisco Jerez wrote:
> Dylan Baker writes:
>
> > This has only been compile tested.
> >
> > cc: Curro Jerez
> > Signed-off-by: Dylan Baker
> > ---
> > include/meson.build | 19
> > meson.build
Am 13.12.2017 um 04:34 schrieb Brian Paul:
> The sample mask is used even if msaa is not explicity enabled when we
> have a framebuffer with multisampled surfaces. That's DX behavior and
> what the Radeon drivers do. Not sure about other drivers at this point.
> ---
> src/gallium/docs/source/con
On Tue, Dec 12, 2017 at 7:34 PM, wrote:
> From: Roland Scheidegger
>
> Cube texture wrapping is a bit special since the values (post face
> projection) always are within [0,1], so we took advantage of that and
> omitted some clamps.
> However, we can still get NaNs (either because the coords alr
The sample mask is used even if msaa is not explicity enabled when we
have a framebuffer with multisampled surfaces. That's DX behavior and
what the Radeon drivers do. Not sure about other drivers at this point.
---
src/gallium/docs/source/context.rst | 5 -
1 file changed, 4 insertions(+),
From: Roland Scheidegger
The spec says the missing texel (when we wrap around both x and y axis)
should be synthesized as the average of the 3 other texels. For bilinear
filtering however we instead adjusted the filter weights (because, while
the complexity looks similar, there would be 4 times a
From: Roland Scheidegger
Cube texture wrapping is a bit special since the values (post face
projection) always are within [0,1], so we took advantage of that and
omitted some clamps.
However, we can still get NaNs (either because the coords already had NaNs,
or the face projection generated them)
https://bugs.freedesktop.org/show_bug.cgi?id=101223
Mike Lothian changed:
What|Removed |Added
Resolution|--- |INVALID
CC|
---
src/intel/common/gen_decoder.c | 17 -
src/intel/common/gen_decoder.h | 4 +---
2 files changed, 9 insertions(+), 12 deletions(-)
diff --git a/src/intel/common/gen_decoder.c b/src/intel/common/gen_decoder.c
index 9f4f503..de4c506 100644
--- a/src/intel/common/gen_decoder.c
++
It's unused
---
src/intel/common/gen_decoder.c | 8
src/intel/common/gen_decoder.h | 3 ---
2 files changed, 11 deletions(-)
diff --git a/src/intel/common/gen_decoder.c b/src/intel/common/gen_decoder.c
index b3501ae..9f4f503 100644
--- a/src/intel/common/gen_decoder.c
+++ b/src/intel/com
Previously, if a group was nested in another group such that it didn't
start on a dword boundary, we would decode it as if it started at the
start of its first dword. This changes things to work even more in
terms of bits so that we can properly decode these structs. This
affects MOCS, attribute
---
src/intel/common/gen_decoder.c | 23 ---
1 file changed, 12 insertions(+), 11 deletions(-)
diff --git a/src/intel/common/gen_decoder.c b/src/intel/common/gen_decoder.c
index de4c506..59c76ea 100644
--- a/src/intel/common/gen_decoder.c
+++ b/src/intel/common/gen_decoder.c
@
Dylan Baker writes:
> This test should rely on dispatch.h being generated, but it doesn't.
Reviewed-by: Eric Anholt
signature.asc
Description: PGP signature
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailm
From: Marek Olšák
Increase the limit and handle non-square images better.
This makes glxgears 20% faster on APUs, and a little more on dGPUs.
We all use and love glxgears.
---
src/gallium/drivers/radeonsi/si_clear.c | 9 -
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/sr
Environment variable KNOB_MAX_WORKER_THREADS allows the user to override
default thread creation and thread binding. Previous commit to adjust
linux cpu topology caused setting this KNOB to bind all threads to a single
core.
This patch restores correct functionality of override.
Cc:
---
src/ga
Quoting Jan Vesely (2017-12-12 15:00:28)
> I can try to give it a go before my travels start on Thursday. Dylan,
> are there any prerequisites to this series?
>
> Jan
>
Just meson 0.44.0, which came out Sunday.
Dylan
signature.asc
Description: signature
___
On Tue, 2017-12-12 at 12:08 -0800, Francisco Jerez wrote:
> Dylan Baker writes:
>
> > This has only been compile tested.
> >
> > cc: Curro Jerez
> > Signed-off-by: Dylan Baker
> > ---
> > include/meson.build | 19
> > meson.build
https://bugs.freedesktop.org/show_bug.cgi?id=104233
--- Comment #1 from f4954...@opayq.com ---
Note if it is not mesa, which is causing this, I am sorry. Just blindly
guessing here… Any tip would be very much appreciated.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=104233
Bug ID: 104233
Summary: [needs triage] Crashes XWayland when moving mouse
fastly on GNOME application overview
Product: Mesa
Version: 17.2
Hardware: Other
I fixed the copy and pasta for idr that included the r-b tag (I copied and
pasted from the git log), and added the bugzilla entry that Vinson opened
locally.
Quoting Dylan Baker (2017-12-12 11:50:30)
> CC: Nicolai Hähnle
> CC: Reviewed-by: Ian Romanick
> CC: Mark Janes
> Fixes: 46b21b8f906 ("me
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103988
Signed-off-by: Jordan Justen
---
src/mesa/program/ir_to_mesa.cpp | 16 +---
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp
index 5f663b3d09f..
From: Marek Olšák
This was undefined yet harmless behavior in LLVM.
Not anymore - it causes a hang now.
Cc: 17.3
---
src/gallium/drivers/radeonsi/si_shader_tgsi_mem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/radeonsi/si_shader_tgsi_mem.c
b/src/ga
From: Marek Olšák
This is based on how nvc0 translates the state.
---
src/gallium/drivers/radeonsi/si_state.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/radeonsi/si_state.c
b/src/gallium/drivers/radeonsi/si_state.c
index 5c4c383..7cf3896 100644
--- a
From: Marek Olšák
---
src/gallium/auxiliary/util/u_blitter.c| 4 ++--
src/gallium/auxiliary/util/u_gen_mipmap.c | 4 ++--
src/gallium/auxiliary/util/u_inlines.h| 8 +++-
src/gallium/drivers/r600/r600_texture.c | 8
src/gallium/drivers/radeon/r600_texture.c | 8
sr
https://bugs.freedesktop.org/show_bug.cgi?id=104231
--- Comment #1 from Dylan Baker ---
I submitted a patch for this already:
https://patchwork.freedesktop.org/patch/192994/
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
I really like this in principal. I left comments on patches 2 and 3 which
I think make things better. My comments on 2 are a bit on the bikeshed
side, but I think reasonable.
On Fri, Dec 8, 2017 at 2:54 AM, wrote:
> From: Kevin Rogovin
>
> This patch series adds a new debug option to pad each
On Fri, Dec 8, 2017 at 2:54 AM, wrote:
> From: Kevin Rogovin
>
> Signed-off-by: Kevin Rogovin
> ---
> src/mesa/drivers/dri/i965/intel_batchbuffer.c | 15 +++
> 1 file changed, 15 insertions(+)
>
> diff --git a/src/mesa/drivers/dri/i965/intel_batchbuffer.c
> b/src/mesa/drivers/dri/i
We never supported it. Missed during copy and pasting.
Fixes: 17201a2eb0b "radv: port to using updated anv entrypoint/extension
generator."
---
src/amd/vulkan/radv_extensions.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/amd/vulkan/radv_extensions.py
b/src/amd/vulkan/radv_extensions
https://bugs.freedesktop.org/show_bug.cgi?id=104231
Bug ID: 104231
Summary: DispatchSanity_test.GL30 regression
Product: Mesa
Version: git
Hardware: x86-64 (AMD64)
OS: All
Status: NEW
Keywords: regression
On Tuesday, December 12, 2017 12:19:16 PM PST Rogovin, Kevin wrote:
> Glad that this helped. The main lead for fixing the bug I got from
> using the patch series posted earlier this week " GEM BO padding to
> find OOB buffer writes" (URL:
> https://lists.freedesktop.org/archives/mesa-dev/2017-Decem
I can't help but think that this could be a bit simpler and involve
throwing fewer pointers around.
On Fri, Dec 8, 2017 at 2:54 AM, wrote:
> From: Kevin Rogovin
>
> Signed-off-by: Kevin Rogovin
> ---
> src/mesa/drivers/dri/i965/brw_bufmgr.c | 68
> +-
> src/mes
Dylan Baker writes:
> This has only been compile tested.
>
> cc: Curro Jerez
> Signed-off-by: Dylan Baker
> ---
> include/meson.build | 19
> meson.build | 27 +-
> meson_options.txt | 12 +++
>
Glad that this helped. The main lead for fixing the bug I got from using the
patch series posted earlier this week " GEM BO padding to find OOB buffer
writes" (URL:
https://lists.freedesktop.org/archives/mesa-dev/2017-December/179658.html). I
am hoping that that patch series can get reviewed an
Quoting Emil Velikov (2017-12-12 07:04:09)
> On 11 December 2017 at 22:22, Dylan Baker wrote:
> > Quoting Emil Velikov (2017-12-11 12:06:35)
> >> On 7 December 2017 at 17:25, Dylan Baker wrote:
> >> > Quoting Emil Velikov (2017-12-07 08:40:27)
> >> >> On 7 December 2017 at 14:51, Eric Engestrom
Reviewed-by: Matt Turner
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
Quoting Eric Engestrom (2017-12-12 06:15:58)
> On Monday, 2017-12-11 11:50:01 -0800, Dylan Baker wrote:
> > Quoting Eric Engestrom (2017-12-11 07:55:30)
> > > On Friday, 2017-12-08 16:27:21 -0800, Dylan Baker wrote:
> > > > Signed-off-by: Dylan Baker
> > >
> > > Should come after the current 4/4,
CC: Nicolai Hähnle
CC: Reviewed-by: Ian Romanick
CC: Mark Janes
Fixes: 46b21b8f906 ("mesa: add GL_ARB_gl_spirv boilerplate")
Signed-off-by: Dylan Baker
---
src/mesa/main/tests/dispatch_sanity.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/mesa/main/tests/dispatch_sanity.cpp
b/
Fixes: af2c320190f3c731 "intel/fs: Implement GRF bank conflict mitigation pass."
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104199
Reported-by: Darius Spitznagel
---
src/intel/compiler/brw_fs.cpp| 2 +-
src/intel/compiler/brw_fs.h | 2 +-
src/intel/c
https://bugs.freedesktop.org/show_bug.cgi?id=104229
Bug ID: 104229
Summary: radeon_icd.i686.json api_version is 1.0.3
Product: Mesa
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Reviewed-by: Bas Nieuwenhuizen
for the series.
On Tue, Dec 12, 2017 at 6:10 PM, Samuel Pitoiset
wrote:
> Signed-off-by: Samuel Pitoiset
> ---
> src/amd/common/ac_llvm_build.c| 9 +
> src/amd/common/ac_llvm_build.h| 2 ++
> src/amd/common/ac_ni
On Tuesday, December 12, 2017 4:17:27 AM PST kevin.rogo...@intel.com wrote:
> From: Kevin Rogovin
>
> Signed-off-by: Kevin Rogovin
> ---
> src/mesa/drivers/dri/i965/brw_program.c | 6 +-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/src/mesa/drivers/dri/i965/brw_program
This test should rely on dispatch.h being generated, but it doesn't.
Signed-off-by: Dylan Baker
---
src/glx/tests/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/glx/tests/meson.build b/src/glx/tests/meson.build
index d81b76906da..51b2843fc90 100644
--- a/src/
Rob Clark writes:
> Add a new helper that drivers can use to emulate various things that
> need special handling in particular in transfer_map:
>
> 1) z32_s8x24.. gl/gallium treats this as a single buffer with depth
> and stencil interleaved but hardware frequently treats this as
> separ
Hey Ian,
Ian Romanick wrote on 12.12.2017 17:56:
> Weird that this was not noticed before... *shrug*
>
> Reviewed-by: Ian Romanick
thank you very much for the R-b! Can you push this for me? I don't have commit
access.
Cheers,
Kai
> On 12/12/2017 07:20 AM, Kai Wasserbäch wrote:
>> Cc: Nicolai
Add a new helper that drivers can use to emulate various things that
need special handling in particular in transfer_map:
1) z32_s8x24.. gl/gallium treats this as a single buffer with depth
and stencil interleaved but hardware frequently treats this as
separate z32 and s8 buffers. Specia
Signed-off-by: Samuel Pitoiset
---
src/amd/common/ac_llvm_build.c| 9 +
src/amd/common/ac_llvm_build.h| 2 ++
src/amd/common/ac_nir_to_llvm.c | 14 ++
src/gallium/drivers/radeonsi/si_shader.c | 13 ++-
And move the comment to amd/common.
Signed-off-by: Samuel Pitoiset
---
src/amd/common/ac_llvm_build.c| 1 +
src/gallium/drivers/radeonsi/si_shader_tgsi_alu.c | 8 +---
2 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/src/amd/common/ac_llvm_build.c b/src/amd/
Signed-off-by: Samuel Pitoiset
---
src/amd/common/ac_nir_to_llvm.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c
index 799ba83e89..189421cc4a 100644
--- a/src/amd/common/ac_nir_to_llvm.c
+++ b/src/amd/
Signed-off-by: Samuel Pitoiset
---
src/amd/common/ac_nir_to_llvm.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c
index 663b27d265..799ba83e89 100644
--- a/src/amd/common/ac_nir_to_llvm.c
+++
Use 16_ABGR instead of 32_ABGR if Z isn't written.
Ported from RadeonSI.
No CTS regressions on Polaris.
Signed-off-by: Samuel Pitoiset
---
src/amd/common/ac_nir_to_llvm.c | 65 ++---
src/amd/vulkan/radv_pipeline.c | 29 ++
2 files changed, 7
On 11/19/2017 11:18 PM, Tapani Pälli wrote:
> Add GL_GPU_DISJOINT_EXT and enable extension when ARB_timer_query
> is supported by the driver.
>
> Following dEQP cases pass:
>dEQP-EGL.functional.get_proc_address.extension.gl_ext_disjoint_timer_query
>dEQP-EGL.functional.client_extensions.di
Weird that this was not noticed before... *shrug*
Reviewed-by: Ian Romanick
On 12/12/2017 07:20 AM, Kai Wasserbäch wrote:
> Cc: Nicolai Hähnle
> Fixes: 5bc03d2508 ("mesa: implement SPIR-V loading in glShaderBinary")
> Signed-off-by: Kai Wasserbäch
> ---
> src/mesa/main/glspirv.c | 4
> 1
Game works fine, not sure if it's using the extension or not
On Mon, 11 Dec 2017 at 23:21 Mike Lothian wrote:
> I'll check that when I'm next home
>
> On Mon, 11 Dec 2017 at 21:19 Timothy Arceri wrote:
>
>> On 12/12/17 08:13, Mike Lothian wrote:
>> > Tested with Dead Island, Dirt Rally and Seri
On Tue, Dec 12, 2017 at 5:42 AM, Emil Velikov
wrote:
> On 11 December 2017 at 22:03, Jason Ekstrand wrote:
> > On Mon, Dec 11, 2017 at 12:08 PM, Emil Velikov >
> > wrote:
> >>
> >> On 21 November 2017 at 00:13, Andres Gomez wrote:
> >> > Jason, this nominated series landed without mentioning a
Cc: Nicolai Hähnle
Fixes: 5bc03d2508 ("mesa: implement SPIR-V loading in glShaderBinary")
Signed-off-by: Kai Wasserbäch
---
src/mesa/main/glspirv.c | 4
1 file changed, 4 deletions(-)
diff --git a/src/mesa/main/glspirv.c b/src/mesa/main/glspirv.c
index 7eb8f906c2..81303057d0 100644
--- a/s
On 11 December 2017 at 22:22, Dylan Baker wrote:
> Quoting Emil Velikov (2017-12-11 12:06:35)
>> On 7 December 2017 at 17:25, Dylan Baker wrote:
>> > Quoting Emil Velikov (2017-12-07 08:40:27)
>> >> On 7 December 2017 at 14:51, Eric Engestrom
>> >> wrote:
>> >> > Bugzilla: https://bugs.freedesk
On Thu, Dec 7, 2017 at 10:12 AM, Jason Ekstrand wrote:
> This autogenerated pass will automatically find and set the type field
> on all vtn_values. This way we always have the type and can use it for
> validation and other checks.
> ---
> src/compiler/Makefile.nir.am | 4 +
> src/
On 6 December 2017 at 19:25, Adam Jackson wrote:
> On Wed, 2017-12-06 at 15:14 +, Emil Velikov wrote:
>
>> > - if (gc->vtable->bind(gc, oldGC, draw, read) != Success) {
>> > + if (gc->vtable->bind(gc, gc, draw, read) != Success) {
>> > __glXSetCurrentContextNull();
>>
>> Th
Add a new helper that drivers can use to emulate various things that
need special handling in particular in transfer_map:
1) z32_s8x24.. gl/gallium treats this as a single buffer with depth
and stencil interleaved but hardware frequently treats this as
separate z32 and s8 buffers. Specia
On 6 December 2017 at 18:12, Adam Jackson wrote:
> On Wed, 2017-12-06 at 14:50 +, Emil Velikov wrote:
>
>> > + * have setup the context, as it needs to query server attributes.
>> > + *
>> > + * At the point this is called gc->currentDpy is not initialized
>> > + * nor
Hey Tapani,
We had a bit of a discussion on IRC about the patch 2.
Our per context timestamps are 36bits long and so roughly loop around
every 90minutes on gen9.
i965 already knows how to handle the counter wrapping around 36bits.
And since there is no way to measure a more than ~90minutes delt
On Monday, 2017-12-11 11:50:01 -0800, Dylan Baker wrote:
> Quoting Eric Engestrom (2017-12-11 07:55:30)
> > On Friday, 2017-12-08 16:27:21 -0800, Dylan Baker wrote:
> > > Signed-off-by: Dylan Baker
> >
> > Should come after the current 4/4, but
> > Reviewed-by: Eric Engestrom
> >
> > > ---
> >
Improve the life-time evaluation of temporary registers by also tracking
writes in both if and else branches and in up to 32 nested scopes.
As a result the estimated required register life-times can be further
reduced enabling more registers to be merged.
Signed-off-by: Gert Wollny
---
.../state
On 11 December 2017 at 22:03, Jason Ekstrand wrote:
> On Mon, Dec 11, 2017 at 12:08 PM, Emil Velikov
> wrote:
>>
>> On 21 November 2017 at 00:13, Andres Gomez wrote:
>> > Jason, this nominated series landed without mentioning any specific
>> > stable queue.
>> >
>> > From what I'm seeing, both d
Add a code line type that accepts one layer of indirect addressing and
add tests to check that temporary register access used for indirect
addressing is accounted for in the lifetime estimation.
Signed-off-by: Gert Wollny
---
src/mesa/state_tracker/tests/st_tests_common.cpp | 95 +++
With the implementation of the tracking of the registers used in reladdr
asserting that a driver calling merge_register() uses the address register
is no longer needed.
Signed-off-by: Gert Wollny
---
src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 1 -
1 file changed, 1 deletion(-)
diff --git a/sr
So far indirect addressing was not tracked to estimate the temporary
life time, and it was not needed, because code to load the address
registers was always emitted eliminating the reladdr* handles in the
past glsl-to.tgsi stages. Now, with Mareks patch allowing any 1D register
to be used for addre
Additional teste are added that check the tracking of access to temporaries
in if-else branches.
Signed-off-by: Gert Wollny
---
.../tests/test_glsl_to_tgsi_lifetime.cpp | 493 -
1 file changed, 486 insertions(+), 7 deletions(-)
diff --git a/src/mesa/state_tracker/t
Signed-off-by: Gert Wollny
---
.../tests/test_glsl_to_tgsi_lifetime.cpp | 127 ++---
1 file changed, 63 insertions(+), 64 deletions(-)
diff --git a/src/mesa/state_tracker/tests/test_glsl_to_tgsi_lifetime.cpp
b/src/mesa/state_tracker/tests/test_glsl_to_tgsi_lifetime.cpp
* Merge the classes MockCodeLine and MockCodelineWithSwizzle into
one, and refactor tests accordingly.
* Change memory allocations to use ralloc* interface.
v4:
* move the test classes into a conveniance library
* rename the Mock* classes to Fake* since they are not really
Mocks
* Bas
This is useful for debugging in glsl_to_tgsi.
Signed-off-by: Gert Wollny
---
src/mesa/program/prog_print.c | 16 ++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/src/mesa/program/prog_print.c b/src/mesa/program/prog_print.c
index 9462510f3a..b273bbf4c8 100644
---
Don't allocate a zero-sized array, when no texture offsets are given.
Reviewed-by: Nicolai Hähnle
Signed-off-by: Gert Wollny
---
.../tests/test_glsl_to_tgsi_lifetime.cpp | 23 +++---
1 file changed, 16 insertions(+), 7 deletions(-)
diff --git a/src/mesa/state_tracker/
Add the equal operator and the "<<" stream write operator for the
st_*_reg classes and the "<<" operator to the instruction class, and
make use of these operators in the debugging output.
Signed-off-by: Gert Wollny
---
src/mesa/state_tracker/st_glsl_to_tgsi_private.cpp | 168
Dear all,
this is another update to the patch set that adds enhanced tracking of IF/ELSE
branches and tracking of reladdr* registers for the register_merge step.
It cleans up the debugging output and moves the testing classes into a
conveniance
library. The latter is in preparation for another
Hi,
Tested-by: Eero Tamminen
Fixes GPU hangs I'm seeing also with the *GL* version of CarChase on KBL
GT3e (when using Ubuntu 16.04 kernel).
- Eero
On 12.12.2017 14:17, kevin.rogo...@intel.com wrote:
From: Kevin Rogovin
This patch series offers a readability improvement for progr
Hi,
On 11.12.2017 12:28, Eero Tamminen wrote:
Thanks for finally having this handled in Mesa!
This patch series, live intervals and "Don't let undefined values
prevent copy propagation" commits help performance in following tests:
* GfxBench CarChase (2% by live intervals)
That was on SKL G
From: Kevin Rogovin
Signed-off-by: Kevin Rogovin
---
src/mesa/drivers/dri/i965/brw_program.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/mesa/drivers/dri/i965/brw_program.c
b/src/mesa/drivers/dri/i965/brw_program.c
index 6aa4100..1ae0aa0 100644
--- a/src/mesa/d
1 - 100 of 130 matches
Mail list logo