On Wednesday, October 18, 2017 8:11:01 AM CEST Jason Ekstrand wrote:
> On October 18, 2017 12:54:48 AM Samuel Iglesias Gonsálvez
>
> wrote:
> > v2:
> > - Use helper to add a new source to the texture instruction.
> >
> > Signed-off-by: Samuel Iglesias Gonsálvez
> > ---
> >
> > src/compiler/ni
On Thu, 2017-10-19 at 17:14 +1100, Timothy Arceri wrote:
>
> On 19/10/17 16:57, Iago Toral Quiroga wrote:
> > From ARB_enhanced_layouts:
> >
> > "[...]when location aliasing, the aliases sharing the location
> > must have the same underlying numerical type (floating-point or
> > integer) and
The restriction is supposed to apply if the width *field* is >= 8192,
meaning the actual width *value* is >= 8193.
The code also incorrectly used == for some reason.
---
src/intel/isl/isl_gen7.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/intel/isl/isl_gen7.c b/src/int
On 19/10/17 16:57, Iago Toral Quiroga wrote:
From ARB_enhanced_layouts:
"[...]when location aliasing, the aliases sharing the location
must have the same underlying numerical type (floating-point or
integer) and the same auxiliary storage and
interpolation qualification.[...]"
Add code
---
src/amd/common/ac_nir_to_llvm.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c
index 7424cc93f9..75fdc774fb 100644
--- a/src/amd/common/ac_nir_to_llvm.c
+++ b/src/amd/common/ac_nir_to_llvm.c
@@ -2
On Wed, Oct 18, 2017 at 10:42:59PM -0700, Kenneth Graunke wrote:
> Now that intel_miptree_prepare_texture takes levels and layers, there's
> not much use in this anymore.
> ---
> src/mesa/drivers/dri/i965/brw_draw.c | 6 --
> src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 14 ---
This allows a write to proceed to an uninitialized part of a buffer
even when the GPU is using the previously-initialized portions.
Same is done for freedreno, nouveau and radeon.
Signed-off-by: Christian Gmeiner
---
src/gallium/drivers/etnaviv/etnaviv_resource.c | 3 +++
src/gallium/drivers/et
From ARB_enhanced_layouts:
"[...]when location aliasing, the aliases sharing the location
must have the same underlying numerical type (floating-point or
integer) and the same auxiliary storage and
interpolation qualification.[...]"
Add code to the linker to validate that aliased locations do
On Friday, October 13, 2017 2:10:15 AM PDT Iago Toral Quiroga wrote:
> When we have up to 16 FS inputs, the SF unit will reorder our inputs
> to be consecutive, however, when we have more than 16 we need to
> to read our inputs from the URB exactly as they have been
> output from the previous stage
This effectively exports intel_miptree_prepare_texture_slices() as
intel_miptree_prepare_texture(). The hope is to avoid resolves for
when using texture views that access a subset of the levels/layers.
For now, we pass the same arguments to separate the mechanical change
from the one that actuall
This should avoid unnecessary resolves when working with texture views.
---
src/mesa/drivers/dri/i965/brw_draw.c | 18 --
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_draw.c
b/src/mesa/drivers/dri/i965/brw_draw.c
index f9a8264f27f..5
Meta's GenerateMipmap implementation binds the same image for both
sampling and rendering - but it samples from one miplevel while
rendering the next. This is a false self-dependency, and there's
no need to disable auxiliary buffers in this case. In fact, we really
want to leave it enabled so the
Now that intel_miptree_prepare_texture takes levels and layers, there's
not much use in this anymore.
---
src/mesa/drivers/dri/i965/brw_draw.c | 6 --
src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 14 --
src/mesa/drivers/dri/i965/intel_mipmap_tree.h | 5 +
3 files
This would cause the read of the metadata content to fail, which would
prevent the linking from being skipped.
Seen on Rocket League with i965 shader cache.
Cc: Timothy Arceri
Signed-off-by: Jordan Justen
---
src/util/disk_cache.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --g
Fixes many GL 4.5 CTS blend tests, such as:
* GL45-CTS.blend_equation_advanced.extension_directive_enable
* GL45-CTS.blend_equation_advanced.extension_directive_warn
* GL45-CTS.blend_equation_advanced.blend_all.GL_MULTIPLY_KHR_all_qualifier
* GL45-CTS.blend_equation_advanced.blend_specific.GL_COLO
From: Timothy Arceri
For now this disables the shader cache when transform feedback is
enabled via the GL API as we don't currently allow for it when
generating the sha for the shader.
---
src/mesa/drivers/dri/i965/brw_disk_cache.c | 8
1 file changed, 8 insertions(+)
diff --git a/src/
From: Jason Ekstrand
---
src/compiler/glsl_types.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/compiler/glsl_types.cpp b/src/compiler/glsl_types.cpp
index a7fc7ff7f6..704b63c5cf 100644
--- a/src/compiler/glsl_types.cpp
+++ b/src/compiler/glsl_types.cpp
@@ -2149,6 +2149,8 @@ enco
From: Timothy Arceri
This will be used to disable the shader cache when xfb is enabled
via the api as we don't currently allow for it when generating the
sha for the shader.
---
src/compiler/glsl/link_varyings.cpp | 5 -
src/mesa/main/mtypes.h | 3 +++
2 files changed, 7 inserti
Double negative FTW!
For now, the shader cache is disabled by default on i965 to allow us
to verify its stability.
In other words, to enable the shader cache on i965, set
MESA_GLSL_CACHE_DISABLE to false or 0. If the variable is unset, then
the shader cache will be disabled.
We use the build-id
Signed-off-by: Jordan Justen
Cc: Timothy Arceri
---
src/mesa/drivers/dri/i965/brw_link.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/mesa/drivers/dri/i965/brw_link.cpp
b/src/mesa/drivers/dri/i965/brw_link.cpp
index 2d10325e4a..b5b84dec63 100644
--- a/src/mesa/drivers/dri/i965/b
The MESA_GLSL_CACHE_TIMESTAMP environment variable can be set to
override the driver timestamp. Usually the driver will specify a hash
of their driver build so the cache items become invalid with each
driver build.
We don't guarantee a stable serialized shader cache format, so
changing the timesta
v2:
* Use MAYBE_UNUSED. (Matt)
Signed-off-by: Jordan Justen
---
src/mesa/drivers/dri/i965/brw_cs.c | 24 ---
src/mesa/drivers/dri/i965/brw_cs.h | 3 +++
src/mesa/drivers/dri/i965/brw_disk_cache.c | 36 +++-
src/mesa/drivers/dri/i965
From: Jason Ekstrand
Cc: mesa-sta...@lists.freedesktop.org
---
src/compiler/nir/nir_intrinsics.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/compiler/nir/nir_intrinsics.h
b/src/compiler/nir/nir_intrinsics.h
index 0de7080bfa..cefd18be90 100644
--- a/src/compiler/nir/n
From: Timothy Arceri
v2:
* Use MAYBE_UNUSED. (Matt)
[jordan.l.jus...@intel.com: *_cached_program => brw_disk_cache_*_program]
Signed-off-by: Jordan Justen
---
src/mesa/drivers/dri/i965/brw_disk_cache.c | 25 +
src/mesa/drivers/dri/i965/brw_gs.c | 22 +++
Cc: Dylan Baker
Signed-off-by: Jordan Justen
---
src/mesa/drivers/dri/Makefile.am | 1 +
src/mesa/drivers/dri/meson.build | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/mesa/drivers/dri/Makefile.am b/src/mesa/drivers/dri/Makefile.am
index 95c637d0cd..5cb2127501 100644
Signed-off-by: Jordan Justen
---
src/compiler/nir/nir_lower_system_values.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/compiler/nir/nir_lower_system_values.c
b/src/compiler/nir/nir_lower_system_values.c
index ba20d3083f..39b1a260bd 100644
--- a/src/compiler/nir/nir_lower_system_valu
From: Timothy Arceri
v2:
* Use MAYBE_UNUSED. (Matt)
[jordan.l.jus...@intel.com: *_cached_program => brw_disk_cache_*_program]
Signed-off-by: Jordan Justen
---
src/mesa/drivers/dri/i965/brw_disk_cache.c | 49 ++
src/mesa/drivers/dri/i965/brw_tcs.c| 23 ++
Signed-off-by: Jordan Justen
---
src/mesa/drivers/dri/i965/brw_context.c | 4
src/mesa/drivers/dri/i965/brw_context.h | 1 +
2 files changed, 5 insertions(+)
diff --git a/src/mesa/drivers/dri/i965/brw_context.c
b/src/mesa/drivers/dri/i965/brw_context.c
index 609d815064..6a88d8bb48 100644
-
From: Jason Ekstrand
---
src/compiler/nir/nir.h | 17 +
src/compiler/nir/nir_serialize.c | 19 +++
2 files changed, 36 insertions(+)
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h
index dd833cf183..87c725625d 100644
--- a/src/compiler/nir/
From: Connor Abbott
v2 (Jason Ekstrand):
- Various whitespace cleanups
- Add helpers for reading/writing objects
- Rework derefs
- [de]serialize nir_shader::num_*
- Fix uses of blob_reserve_bytes
- Use a bitfield struct for packing tex_instr data
v3:
- Zero nir_variable struct on deserial
If the i965 gen program cannot be loaded from the cache, then we
fallback to using a serialized nir program.
This is based on "i965: add cache fallback support" by Timothy Arceri
. Tim's version was written to fallback
to compiling from source, and therefore had to be much more complex.
After Conn
From: Carl Worth
This will be used by the on disk shader cache.
v2:
* Set in brw_compile_* rather than brw_codegen_*. (Jason)
Signed-off-by: Timothy Arceri
[jordan.l.jus...@intel.com: Only add to brw_stage_prog_data]
Signed-off-by: Jordan Justen
---
src/intel/compiler/brw_compiler.h
Signed-off-by: Jordan Justen
---
src/compiler/nir/nir.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/compiler/nir/nir.c b/src/compiler/nir/nir.c
index fe48451694..cbba9c8749 100644
--- a/src/compiler/nir/nir.c
+++ b/src/compiler/nir/nir.c
@@ -481,6 +481,7 @@ nir_load_const_instr_create
Signed-off-by: Jordan Justen
---
src/compiler/glsl/glsl_to_nir.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/compiler/glsl/glsl_to_nir.cpp
b/src/compiler/glsl/glsl_to_nir.cpp
index 1d1085ffbc..c659a25ca7 100644
--- a/src/compiler/glsl/glsl_to_nir.cpp
+++ b/src/compi
These fields can be used to optionally save off a nir serialized form
of the program.
Signed-off-by: Jordan Justen
---
src/mesa/main/mtypes.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 2802a0e360..a5a1398698 100644
--- a/src/mesa/m
When a program is restored from the shader cache, prog->nir will be
NULL, but prog->info will be restored.
Signed-off-by: Jordan Justen
---
src/mesa/drivers/dri/i965/brw_wm.c | 4 ++--
src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 12 ++--
2 files changed, 8 insertion
Signed-off-by: Jordan Justen
---
src/compiler/glsl/shader_cache.cpp | 16
1 file changed, 16 insertions(+)
diff --git a/src/compiler/glsl/shader_cache.cpp
b/src/compiler/glsl/shader_cache.cpp
index ca90cfde35..f43bd6b17e 100644
--- a/src/compiler/glsl/shader_cache.cpp
+++ b/src
From: Timothy Arceri
This uses the recently-added disk_cache.c to write out the final
linked binary for vertex and fragment shader programs.
This is based off the initial implementation done by Carl Worth.
v2:
* Squash 'i965: add image param shader cache support'
* Squash 'i965: add shader ca
If the shader cache is enabled, after linking the program, we
serialize the program to nir. This will be saved out by the glsl
shader cache support.
Later, if the same program is found in the cache, we can use the nir
for a fallback in the unlikely case that the gen binary program is not
found in
Signed-off-by: Jordan Justen
---
src/compiler/glsl/glsl_to_nir.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/compiler/glsl/glsl_to_nir.cpp
b/src/compiler/glsl/glsl_to_nir.cpp
index 63694fd41f..1d1085ffbc 100644
--- a/src/compiler/glsl/glsl_to_nir.cpp
+++ b/src/compi
From: Connor Abbott
Not sure if this is the best place to put it, but we're going to need
this for NIR too.
---
src/compiler/glsl/shader_cache.cpp | 171 -
src/compiler/glsl_types.cpp| 171 +
src/compiler/glsl_types.
Signed-off-by: Jordan Justen
---
src/compiler/glsl/builtin_variables.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/compiler/glsl/builtin_variables.cpp
b/src/compiler/glsl/builtin_variables.cpp
index ea2d897cc8..d3cf12475b 100644
--- a/src/compiler/glsl/builtin_variables.cpp
+++ b/s
Signed-off-by: Jordan Justen
---
src/intel/compiler/brw_nir_lower_cs_intrinsics.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/intel/compiler/brw_nir_lower_cs_intrinsics.c
b/src/intel/compiler/brw_nir_lower_cs_intrinsics.c
index f9322654e7..d27727624c 100644
--- a/src/intel/compiler/b
From: Jason Ekstrand
It's redundant with nir_shader::info::stage.
---
src/amd/common/ac_nir_to_llvm.c| 30 ++---
src/amd/common/ac_shader_info.c| 2 +-
src/amd/vulkan/radv_shader.c | 4 +-
src/compiler/glsl/glsl_to_nir.cpp
git://people.freedesktop.org/~jljusten/mesa i965-shader-cache-v2
The series adds support for a disk shader cache for i965, but it does
not enable it by default. To enable the i965 shader cache you need to
set the environment variable MESA_GLSL_CACHE_DISABLE=0.
v2:
* Fallback now uses Connor & J
From: Timothy Arceri
This enables the cache on vertex and fragment shaders only.
v2:
* Use MAYBE_UNUSED. (Matt)
[jordan.l.jus...@intel.com: reword subject]
[jordan.l.jus...@intel.com: *_cached_program => brw_disk_cache_*_program]
Signed-off-by: Jordan Justen
---
src/mesa/drivers/dri/i965/brw
On Fri, Sep 29, 2017 at 2:25 PM, Jason Ekstrand wrote:
> diff --git a/src/mesa/drivers/dri/i965/gen6_constant_state.c
> b/src/mesa/drivers/dri/i965/gen6_constant_state.c
> index b2e357f..93a12c7 100644
> --- a/src/mesa/drivers/dri/i965/gen6_constant_state.c
> +++ b/src/mesa/drivers/dri/i965/gen6_
Quoting Eric Engestrom (2017-10-18 17:25:05)
> On Wednesday, 2017-10-18 23:56:00 +, Dylan Baker wrote:
> > This is based heavily on Daniel Stone's work for the same, rebased on
> > master and with a number of TODO's fixed.
> >
> > This does not implement glvnd (which is coming in a later patch
From: Dave Airlie
Looking at shader traces I noticed some registers were missing,
one of them was being eaten by the wrong clear state length.
Fixes: 4f42ea4dc (radv: use CLEAR_STATE for initializing some registers)
Signed-off-by: Dave Airlie
---
src/amd/vulkan/si_cmd_buffer.c | 2 +-
1 file c
I pushed the series, thanks!
Marek
On Mon, Oct 16, 2017 at 12:22 AM, Darren Salt wrote:
> ---
> src/util/drirc | 27 +--
> 1 file changed, 21 insertions(+), 6 deletions(-)
>
> diff --git a/src/util/drirc b/src/util/drirc
> index 3cf3d8dc69..39ac3c858c 100644
> --- a/src/
---
src/amd/vulkan/radv_cmd_buffer.c | 21 -
1 file changed, 16 insertions(+), 5 deletions(-)
diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c
index 3e31fbafd34..a746777ca40 100644
--- a/src/amd/vulkan/radv_cmd_buffer.c
+++ b/src/amd/vulkan/radv
---
src/amd/vulkan/radv_cmd_buffer.c | 19 ++-
src/amd/vulkan/radv_pipeline.c | 14 --
src/amd/vulkan/radv_private.h| 2 ++
3 files changed, 28 insertions(+), 7 deletions(-)
diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c
index 7
We need different regs to end up in s0/s1.
---
src/amd/vulkan/radv_device.c | 36
1 file changed, 24 insertions(+), 12 deletions(-)
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index fd705fe726d..125498809ec 100644
--- a/src/amd/vul
---
src/amd/vulkan/radv_cmd_buffer.c | 14 +++---
src/amd/vulkan/radv_pipeline.c | 2 +-
src/amd/vulkan/radv_shader.c | 19 +++
src/amd/vulkan/radv_shader.h | 4 ++--
4 files changed, 25 insertions(+), 14 deletions(-)
diff --git a/src/amd/vulkan/radv_cmd_buffer
---
src/amd/common/ac_nir_to_llvm.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c
index cb011bd88bb..242675654d2 100644
--- a/src/amd/common/ac_nir_to_llvm.c
+++ b/src/amd/common/ac_nir_to_llvm.c
@@ -6377,6
No OC_LDS_EN for HS, and the included LS vgpr_comp_cnt is at
a different offset.
---
src/amd/vulkan/radv_shader.c | 23 ---
1 file changed, 16 insertions(+), 7 deletions(-)
diff --git a/src/amd/vulkan/radv_shader.c b/src/amd/vulkan/radv_shader.c
index a7836543998..a86ba2a01c0
---
src/amd/common/ac_nir_to_llvm.c | 133 +---
1 file changed, 83 insertions(+), 50 deletions(-)
diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c
index 67945a353e8..cb011bd88bb 100644
--- a/src/amd/common/ac_nir_to_llvm.c
+++ b/sr
Needed for GFX9 merged shaders.
---
src/amd/common/ac_nir_to_llvm.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c
index 3ba3ebf051e..1df97b59a2e 100644
--- a/src/amd/common/ac_nir_to_llvm.c
+++ b/src/amd/co
---
src/amd/common/ac_nir_to_llvm.c | 31 +--
1 file changed, 17 insertions(+), 14 deletions(-)
diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c
index 38f47b34e10..f01ca8799b9 100644
--- a/src/amd/common/ac_nir_to_llvm.c
+++ b/src/amd/comm
To prevent VS/TCS collisions in merged shaders.
---
src/amd/common/ac_nir_to_llvm.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/amd/common/ac_nir_to_llvm.h b/src/amd/common/ac_nir_to_llvm.h
index 66d539dec47..360d613d58d 100644
--- a/src/amd/common/ac_nir_to_llvm.
---
src/amd/common/ac_nir_to_llvm.c | 27 ---
1 file changed, 16 insertions(+), 11 deletions(-)
diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c
index c6c56f30b81..67945a353e8 100644
--- a/src/amd/common/ac_nir_to_llvm.c
+++ b/src/amd/common/a
---
src/amd/common/ac_nir_to_llvm.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/amd/common/ac_nir_to_llvm.h b/src/amd/common/ac_nir_to_llvm.h
index 8a1e64ce7e1..66d539dec47 100644
--- a/src/amd/common/ac_nir_to_llvm.h
+++ b/src/amd/common/ac_nir_to_llvm.h
@@ -154,7 +154
---
src/amd/common/ac_nir_to_llvm.h | 1 +
src/amd/vulkan/radv_pipeline.c | 29 +
src/amd/vulkan/radv_shader.c| 17 ++---
src/amd/vulkan/radv_shader.h| 5 +++--
4 files changed, 39 insertions(+), 13 deletions(-)
diff --git a/src/amd/common/ac_nir
---
src/amd/common/ac_nir_to_llvm.c | 82 ++---
src/amd/common/ac_nir_to_llvm.h | 3 +-
src/amd/vulkan/radv_shader.c| 2 +-
3 files changed, 48 insertions(+), 39 deletions(-)
diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c
i
---
src/amd/common/ac_binary.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/amd/common/ac_binary.c b/src/amd/common/ac_binary.c
index 1bf52c78328..cf0125c415f 100644
--- a/src/amd/common/ac_binary.c
+++ b/src/amd/common/ac_binary.c
@@ -252,6 +252,7 @@ void ac_shader_binary_read_config(s
---
src/amd/common/ac_nir_to_llvm.c | 254
1 file changed, 178 insertions(+), 76 deletions(-)
diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c
index f01ca8799b9..c6c56f30b81 100644
--- a/src/amd/common/ac_nir_to_llvm.c
+++ b/s
On Wed, Oct 18, 2017 at 4:59 PM, Kenneth Graunke wrote:
> Commit a73116ecc60414ade89802150b tried to make add_barrier_deps()
> walk to the next barrier, and stop. To accomplish that, it added an
> is_barrier flag. Unfortunately, this only works half of the time.
>
> The issue is that add_barrier
On Wednesday, 2017-10-18 23:56:00 +, Dylan Baker wrote:
> This is based heavily on Daniel Stone's work for the same, rebased on
> master and with a number of TODO's fixed.
>
> This does not implement glvnd (which is coming in a later patch)
>
> Meson builds egl slightly differently than autot
typo in subject "is_barier" -> "is_barrier"
Quoting Kenneth Graunke (2017-10-18 16:59:12)
> Commit a73116ecc60414ade89802150b tried to make add_barrier_deps()
> walk to the next barrier, and stop. To accomplish that, it added an
> is_barrier flag. Unfortunately, this only works half of the time.
On Wednesday, 2017-10-18 23:56:05 +, Dylan Baker wrote:
> Previously this failed to change with_glx to disabled from auto if
> platform_x11 was unset or if no opengl apis were being built.
>
> Signed-off-by: Dylan Baker
> ---
> meson.build | 8 ++--
> 1 file changed, 6 insertions(+), 2 d
On Wed, Oct 18, 2017 at 03:20:57PM -0400, Harry Wentland wrote:
> On 2017-10-18 04:10 AM, Daniel Vetter wrote:
> > On Tue, Oct 17, 2017 at 09:01:52PM +0200, Nicolai Hähnle wrote:
> >> On 17.10.2017 19:16, Daniel Vetter wrote:
> >>> On Tue, Oct 17, 2017 at 5:40 PM, Michel Dänzer wrote:
> On 17
Commit a73116ecc60414ade89802150b tried to make add_barrier_deps()
walk to the next barrier, and stop. To accomplish that, it added an
is_barrier flag. Unfortunately, this only works half of the time.
The issue is that add_barrier_deps() walks both backward (to the
previous barrier), and forward
This eliminates a layer of wrapping, and makes a backend_instruction
sufficient. The downside is that it exposes 'eot' to the vec4 backend,
which it doesn't need, but can basically happily ignore.
---
src/intel/compiler/brw_fs.cpp | 6 --
src/intel/compiler/brw_ir_fs.h | 2
Signed-off-by: Dylan Baker
---
src/egl/meson.build | 46 --
1 file changed, 44 insertions(+), 2 deletions(-)
diff --git a/src/egl/meson.build b/src/egl/meson.build
index ade6810bf91..8ea8a5bbb69 100644
--- a/src/egl/meson.build
+++ b/src/egl/meson.buil
This is based heavily on Daniel Stone's work for the same, rebased on
master and with a number of TODO's fixed.
This does not implement glvnd (which is coming in a later patch)
Meson builds egl slightly differently than autotools, namely it doesn't
build an intermediate shared library. It doesn't
This small series adds support to the meson build system for building EGL in
both the glvnd and traditional configurations. I have tested it against the i965
using piglit and didn't see any regressions in the egl tests.
This work is based on work that Daniel Stone started, although I rewrote the
p
These files are needed by both vulkan wayland-wsi and by egl
wayland-wsi, since the XML file is in src/egl/wayland/wayland-drm and we
can include this directory in such a way that it will be loaded before
egl and vulkan this allows us to avoid multiple calls to the same
generator.
Signed-off-by: D
Previously this failed to change with_glx to disabled from auto if
platform_x11 was unset or if no opengl apis were being built.
Signed-off-by: Dylan Baker
---
meson.build | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/meson.build b/meson.build
index 82c4d2ed12c..13d
Quoting Eric Engestrom (2017-10-18 15:27:39)
> On Wednesday, 2017-10-18 18:09:22 +, Dylan Baker wrote:
> > v2: - Add information about CC, CXX, CFLAGS, and CXXFLAGS (Nicolai)
> > - Add message at top that meson for mesa is still a work in progress
> > - Add trailing "/" to directories (
On 2017-10-18 04:10 AM, Daniel Vetter wrote:
> On Tue, Oct 17, 2017 at 09:01:52PM +0200, Nicolai Hähnle wrote:
>> On 17.10.2017 19:16, Daniel Vetter wrote:
>>> On Tue, Oct 17, 2017 at 5:40 PM, Michel Dänzer wrote:
On 17/10/17 05:04 PM, Daniel Vetter wrote:
> On Tue, Oct 17, 2017 at 03:46:
On Wednesday, 2017-10-18 22:08:04 +, Dylan Baker wrote:
> Quoting Eric Engestrom (2017-10-18 14:48:49)
> > On Wednesday, 2017-10-18 18:45:19 +, Nicholas Miell wrote:
> > > On 10/17/2017 12:21 PM, Dylan Baker wrote:
> > > > +
> > > > +To see a description of your options you can run "meson c
The comment "we don't use get_back_bo() since ..." only makes sense in
context on droid_swap_buffers. Why aren't you calling this helper
in dri2_drm_swap_buffers and dri2_wl_swap_buffers_with_damage? It seems
like you can.
On Tue, Oct 17, 2017 at 7:38 AM, Emil Velikov
wrote:
> On 6 October 20
Reviewed-by: Gurchetan Singh
On Wed, Oct 18, 2017 at 9:09 AM, Eric Engestrom
wrote:
> Suggested-by: Emil Velikov
> Signed-off-by: Eric Engestrom
> ---
> src/egl/drivers/dri2/platform_surfaceless.c | 3 +--
> src/egl/drivers/dri2/platform_wayland.c | 3 +--
> src/egl/drivers/dri2/platform
> Then again, I'd suggest keeping that as separate series. These patches
> started as a way to minimise the duplication we have in drivers/dri2.
I'm fine with dri2_$action_$object. We can modify the existing functions
later, but I recommend adopting more concise conventions in this patchset,
i.e:
Whoops I've fixed redundent -> redundant locally
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
On Wednesday, 2017-10-18 18:09:22 +, Dylan Baker wrote:
> v2: - Add information about CC, CXX, CFLAGS, and CXXFLAGS (Nicolai)
> - Add message at top that meson for mesa is still a work in progress
> - Add trailing "/" to directories (Eric E.)
> - Fix a number of spelling/grammar/sty
It looks the original indirect mask was probably copied from
ANV.
Sascha Willems demo results:
tessellation ~4000 -> ~4200 fps
V2: continue lowering local indirect due to llvm deficiencies.
Cc: Alex Smith
---
src/amd/vulkan/radv_shader.c | 27 ++-
1 file changed, 26 in
We already set it when above in the nir compilation loop.
---
src/amd/vulkan/radv_pipeline.c | 4
1 file changed, 4 deletions(-)
diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c
index 7102d07a03..15ef428be4 100644
--- a/src/amd/vulkan/radv_pipeline.c
+++ b/src/amd
Quoting Nicholas Miell (2017-10-18 11:45:19)
> On 10/17/2017 12:21 PM, Dylan Baker wrote:
> > +
> > +To see a description of your options you can run "meson configure". This
> > will
> > +show your meson project configuration options as well as your local
> > +configuration options. One meson opti
Quoting Eric Engestrom (2017-10-18 14:48:49)
> On Wednesday, 2017-10-18 18:45:19 +, Nicholas Miell wrote:
> > On 10/17/2017 12:21 PM, Dylan Baker wrote:
> > > +
> > > +To see a description of your options you can run "meson configure". This
> > > will
> > > +show your meson project configurati
On Wednesday, 2017-10-18 18:45:19 +, Nicholas Miell wrote:
> On 10/17/2017 12:21 PM, Dylan Baker wrote:
> > +
> > +To see a description of your options you can run "meson configure". This
> > will
> > +show your meson project configuration options as well as your local
> > +configuration optio
Reviewed-by: Marek Olšák
Marek
On Wed, Oct 18, 2017 at 11:17 PM, wrote:
> From: Roland Scheidegger
>
> The logic for handling shadow coords was completely broken.
> Fixes be3ab867bd444594f9d9e0f8e59d305d15769afd.
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103265
> ---
> src/gal
From: Roland Scheidegger
The logic for handling shadow coords was completely broken.
Fixes be3ab867bd444594f9d9e0f8e59d305d15769afd.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103265
---
src/gallium/auxiliary/tgsi/tgsi_util.c | 12 ++--
1 file changed, 6 insertions(+), 6 dele
Quite bad fix.. I will have a better look tomorrow.
Please ignore.
On 10/18/2017 10:15 PM, Samuel Pitoiset wrote:
Only on CIK and later. We should only update VGT_INDEX_TYPE but
it seems easier to re-emit all the index buffer packets.
Signed-off-by: Samuel Pitoiset
---
src/amd/vulkan/radv_c
Only on CIK and later. We should only update VGT_INDEX_TYPE but
it seems easier to re-emit all the index buffer packets.
Signed-off-by: Samuel Pitoiset
---
src/amd/vulkan/radv_cmd_buffer.c | 8
1 file changed, 8 insertions(+)
diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulk
On 10/10/2017 12:51 PM, Tapani Pälli wrote:
On 10/06/2017 07:11 PM, Mario Kleiner wrote:
Expose formats which are supported at least back to Gen 5 Ironlake,
possibly further. Allow creation of 10 bpc winsys buffers for drawables.
glxinfo now lists new RGBA 10 10 10 2/0 formats.
Works correctly
On 10/18/2017 09:54 PM, Dave Airlie wrote:
On 19 October 2017 at 04:56, Bas Nieuwenhuizen wrote:
Interesting that we already had RADV_CMD_DIRTY_INDEX_BUFFER. r-b for the series.
On Wed, Oct 18, 2017 at 2:17 PM, Samuel Pitoiset
wrote:
It can only be changed when CmdBindIndexBuffer() is call
On 19 October 2017 at 04:56, Bas Nieuwenhuizen wrote:
> Interesting that we already had RADV_CMD_DIRTY_INDEX_BUFFER. r-b for the
> series.
>
> On Wed, Oct 18, 2017 at 2:17 PM, Samuel Pitoiset
> wrote:
>> It can only be changed when CmdBindIndexBuffer() is called
>> or when a secondary buffer is
On Wednesday, 2017-10-18 17:29:20 +, Dylan Baker wrote:
> Quoting Eric Engestrom (2017-10-18 04:02:07)
> > On Tuesday, 2017-10-17 19:21:10 +, Dylan Baker wrote:
> > > Signed-off-by: Dylan Baker
> > > ---
> > >
> > > I'm sending this out now so that others can look at it, review it, and
>
On Wed, Oct 18, 2017 at 6:59 PM, Michel Dänzer wrote:
> On 18/10/17 12:15 PM, Nicolai Hähnle wrote:
>> On 18.10.2017 10:10, Daniel Vetter wrote:
>>> On Tue, Oct 17, 2017 at 09:01:52PM +0200, Nicolai Hähnle wrote:
On 17.10.2017 19:16, Daniel Vetter wrote:
> On Tue, Oct 17, 2017 at 5:40 PM,
1 - 100 of 209 matches
Mail list logo