[Mesa-dev] [Bug 104214] Dota crashes when switching from game to desktop

2018-01-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104214 --- Comment #22 from Evangelos Foutras --- (In reply to Cyril from comment #11) > Used git bisect (between tag mesa-17.3.1 and mesa-17.2.6) and tested if i > could launch the game or not for each iteration. Got this commit at the end : > > 15e2

Re: [Mesa-dev] [PATCH 00/15] RadeonSI 32-bit GPU pointers

2018-01-07 Thread Christian König
Am 07.01.2018 um 01:48 schrieb Marek Olšák: On Sat, Jan 6, 2018 at 5:51 PM, Christian König wrote: Hi Marek, actually I was on the verge to remove the 32bit VM support in libdrm because it clashes with HMM and SVM in general. Is it possible to set the upper 32bit of the 64bit address to some

[Mesa-dev] [Bug 103999] 4x MSAA with RG32F shows garbage on triangle edges

2018-01-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103999 --- Comment #5 from mais...@archlinux.us --- Still buggy on latest git. -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.___ mesa-dev mailin

[Mesa-dev] [Bug 103538] vkDestroySwapchain causes deadlock on Wayland compositor with X11

2018-01-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103538 --- Comment #3 from mais...@archlinux.us --- Also seen this issue now on Xorg. Also observed with the new AMD open driver, could be an Xorg bug? -- You are receiving this mail because: You are the assignee for the bug.__

Re: [Mesa-dev] [PATCH] glsl: Respect std430 layout in lower_buffer_access

2018-01-07 Thread Anonymer Kommentator
Hi Timothy, Thanks for taking a look. > These changes seem reasonable. Are you able to create a piglit test that > exercises the bug also? Thanks to your pointer to the basic.shader_test for SSBOs in piglit, I was able to create a new piglit test for this bug. Its result changes from fail to pas

Re: [Mesa-dev] [PATCH v3 3/4] meson: build clover

2018-01-07 Thread Jan Vesely
On Sat, 2018-01-06 at 15:48 -0800, Dylan Baker wrote: > Quoting Jan Vesely (2018-01-06 15:18:54) > > On Fri, 2018-01-05 at 15:26 -0800, Dylan Baker wrote: > > > Quoting Jan Vesely (2018-01-05 14:16:41) > > > > Hi, > > > > > > > > > > > > sorry for the delay. I was mostly traveling during the holi

Re: [Mesa-dev] [PATCH 00/15] RadeonSI 32-bit GPU pointers

2018-01-07 Thread Marek Olšák
On Sun, Jan 7, 2018 at 9:50 AM, Christian König wrote: > Am 07.01.2018 um 01:48 schrieb Marek Olšák: >> >> On Sat, Jan 6, 2018 at 5:51 PM, Christian König >> wrote: >>> >>> Hi Marek, >>> >>> actually I was on the verge to remove the 32bit VM support in libdrm >>> because >>> it clashes with HMM a

Re: [Mesa-dev] [PATCH 00/15] RadeonSI 32-bit GPU pointers

2018-01-07 Thread Christian König
Am 07.01.2018 um 17:42 schrieb Marek Olšák: On Sun, Jan 7, 2018 at 9:50 AM, Christian König wrote: Am 07.01.2018 um 01:48 schrieb Marek Olšák: On Sat, Jan 6, 2018 at 5:51 PM, Christian König wrote: Hi Marek, actually I was on the verge to remove the 32bit VM support in libdrm because it cla

[Mesa-dev] [Bug 104529] Add OpenCL information to docs/features.txt

2018-01-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104529 Bug ID: 104529 Summary: Add OpenCL information to docs/features.txt Product: Mesa Version: git Hardware: All OS: All Status: NEW Severity: minor

[Mesa-dev] [Bug 104529] Add OpenCL information to docs/features.txt

2018-01-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104529 Vedran Miletić changed: What|Removed |Added Assignee|mesa-dev@lists.freedesktop. |ved...@miletic.net |

[Mesa-dev] [Bug 103999] 4x MSAA with RG32F shows garbage on triangle edges

2018-01-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103999 Bas Nieuwenhuizen changed: What|Removed |Added Status|NEEDINFO|NEW -- You are receiving this mail

[Mesa-dev] [PATCH v3 11/30] nvir/nir: implement CFG handling

2018-01-07 Thread Karol Herbst
Signed-off-by: Karol Herbst --- .../drivers/nouveau/codegen/nv50_ir_from_nir.cpp | 255 - 1 file changed, 253 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp inde

[Mesa-dev] [PATCH v3 12/30] nvir/nir: implement nir_load_const_instr

2018-01-07 Thread Karol Herbst
Signed-off-by: Karol Herbst --- .../drivers/nouveau/codegen/nv50_ir_from_nir.cpp | 20 1 file changed, 20 insertions(+) diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp index 0d18dd030a..b13

[Mesa-dev] [PATCH v3 09/30] nvir/nir: run assignSlots

2018-01-07 Thread Karol Herbst
v2: add support for geometry shaders set idx add some missing mappings fix for 64bit inputs/outputs fix up some FP color output index messup parse centroid flag v3: fix arrays in outputs as well fix input/ouput size calculation for tessellation shaders Signed-off-by: Karol

[Mesa-dev] [PATCH v3 08/30] nvir/nir: add nir type helper functions

2018-01-07 Thread Karol Herbst
Signed-off-by: Karol Herbst --- .../drivers/nouveau/codegen/nv50_ir_from_nir.cpp | 116 + 1 file changed, 116 insertions(+) diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp index c0e733a67d..b0

[Mesa-dev] [PATCH v3 00/30] Nir support for Nouveau

2018-01-07 Thread Karol Herbst
significant changes to last series: * disable support for 64 bit types * fix tessellation shader bugs * assume vec4 elements for variable index arrays (MemoryOpts workaround) piglit run -x glx -x egl -x streaming-texture-leak -x max-texture-size tests/gpu.py: [26010/26010] skip: 10410, pass: 1538

[Mesa-dev] [PATCH v3 03/30] nvir: move common converter code in base class

2018-01-07 Thread Karol Herbst
v2: remove TGSI related bits Signed-off-by: Karol Herbst --- src/gallium/drivers/nouveau/Makefile.sources | 2 + .../nouveau/codegen/nv50_ir_from_common.cpp| 107 + .../drivers/nouveau/codegen/nv50_ir_from_common.h | 58 +++ .../drivers/nouveau/codeg

[Mesa-dev] [PATCH v3 04/30] nvc0: add support for NIR

2018-01-07 Thread Karol Herbst
not all those nir options are actually required, it just made the work a little easier. v2: fix asserts parse compute shaders don't lower bitfield_insert v3: fix memory leak Signed-off-by: Karol Herbst --- src/gallium/drivers/nouveau/Makefile.sources | 1 + src/gallium/drivers/no

[Mesa-dev] [PATCH v3 06/30] nvir/nir: run some passes to make the conversion easier

2018-01-07 Thread Karol Herbst
v2: add constant_folding Signed-off-by: Karol Herbst --- .../drivers/nouveau/codegen/nv50_ir_from_nir.cpp | 40 ++ 1 file changed, 40 insertions(+) diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir

[Mesa-dev] [PATCH v3 13/30] nvir/nir: add skeleton for nir_intrinsic_instr

2018-01-07 Thread Karol Herbst
Signed-off-by: Karol Herbst --- .../drivers/nouveau/codegen/nv50_ir_from_nir.cpp | 19 +++ 1 file changed, 19 insertions(+) diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp index b130fc696b..d7f

[Mesa-dev] [PATCH v3 02/30] nvir: print the shader type when dumping headers

2018-01-07 Thread Karol Herbst
this makes debugging the shader header a little easier Signed-off-by: Karol Herbst --- src/gallium/drivers/nouveau/nvc0/nvc0_program.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_program.c b/src/gallium/drivers/nouveau/nvc0/nvc0_program.c index e615

[Mesa-dev] [PATCH v3 10/30] nvir/nir: parse NIR shader info

2018-01-07 Thread Karol Herbst
v2: parse a few more fields v3: add special handling for GL_ISOLINES Signed-off-by: Karol Herbst --- .../drivers/nouveau/codegen/nv50_ir_from_nir.cpp | 58 ++ 1 file changed, 58 insertions(+) diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp b/src/gall

[Mesa-dev] [PATCH v3 01/30] nir: fix st_nir_assign_var_locations for patch variables

2018-01-07 Thread Karol Herbst
Signed-off-by: Karol Herbst Reviewed-by: Kenneth Graunke Reviewed-by: Timothy Arceri --- src/mesa/state_tracker/st_glsl_to_nir.cpp | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/mesa/state_tracker/st_glsl_to_nir.cpp b/src/mesa/state_tracker/st_glsl_to_nir.cpp i

[Mesa-dev] [PATCH v3 05/30] nvc0/debug: add env var to make nir default

2018-01-07 Thread Karol Herbst
v2: allow for non debug builds as well v3: move reading out env var more global disable tg4 with multiple offsets with nir disable caps for 64 bit types Signed-off-by: Karol Herbst --- src/gallium/drivers/nouveau/nouveau_screen.c | 4 src/gallium/drivers/nouveau/nouveau_screen.h

[Mesa-dev] [PATCH v3 07/30] nvir/nir: track defs and provide easy access functions

2018-01-07 Thread Karol Herbst
v2: add helper function for indirects Signed-off-by: Karol Herbst --- .../drivers/nouveau/codegen/nv50_ir_from_nir.cpp | 125 + 1 file changed, 125 insertions(+) diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp b/src/gallium/drivers/nouveau/codegen/nv

[Mesa-dev] [PATCH v3 23/30] nvir/nir: implement vote and ballot

2018-01-07 Thread Karol Herbst
v2: add vote_eq support use the new subop intrinsic helper add ballot v3: add read_(first_)invocation Signed-off-by: Karol Herbst --- .../drivers/nouveau/codegen/nv50_ir_from_nir.cpp | 41 ++ 1 file changed, 41 insertions(+) diff --git a/src/gallium/drivers/nouveau

[Mesa-dev] [PATCH v3 19/30] nvir/nir: implement loading system values

2018-01-07 Thread Karol Herbst
v2: support more sys values fixed a bug where for multi component reads all values ended up in x v3: add load_patch_vertices_in Signed-off-by: Karol Herbst --- .../drivers/nouveau/codegen/nv50_ir_from_nir.cpp | 87 ++ 1 file changed, 87 insertions(+) diff --git a/src/g

[Mesa-dev] [PATCH v3 25/30] nvir/nir: implement geometry shader nir_intrinsics

2018-01-07 Thread Karol Herbst
Signed-off-by: Karol Herbst --- .../drivers/nouveau/codegen/nv50_ir_from_nir.cpp | 31 ++ 1 file changed, 31 insertions(+) diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp index 82f388c2ac..905

[Mesa-dev] [PATCH v3 20/30] nvir/nir: implement nir_ssa_undef_instr

2018-01-07 Thread Karol Herbst
v2: use mkOp Signed-off-by: Karol Herbst --- src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp | 15 +++ 1 file changed, 15 insertions(+) diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp index 21

[Mesa-dev] [PATCH v3 17/30] nvir/nir: implement nir_intrinsic_load_input

2018-01-07 Thread Karol Herbst
v3: and load_output Signed-off-by: Karol Herbst --- .../drivers/nouveau/codegen/nv50_ir_from_nir.cpp | 32 ++ 1 file changed, 32 insertions(+) diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp

[Mesa-dev] [PATCH v3 15/30] nvir/nir: implement nir_intrinsic_load_uniform

2018-01-07 Thread Karol Herbst
v2: use new getIndirect helper fixes symbols for 64 bit types Signed-off-by: Karol Herbst --- src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp | 16 1 file changed, 16 insertions(+) diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp b/src/gallium

[Mesa-dev] [PATCH v3 14/30] nvir/nir: implement nir_alu_instr handling

2018-01-07 Thread Karol Herbst
Signed-off-by: Karol Herbst v2: user bitfield_insert instead of bfi rework switch helper macros remove some lowering code (LoweringHelper is now used for this) v3: add pack_half_2x16_split add unpack_half_2x16_split_x/y Signed-off-by: Karol Herbst --- .../drivers/nouveau/codegen/nv5

[Mesa-dev] [PATCH v3 24/30] nvir/nir: implement variable indexing

2018-01-07 Thread Karol Herbst
we store those arrays in local memory and reserve some space for each of the arrays. The arrays are stored in a packed format, because we know quite easily the context of each index. We don't do that in TGSI so far. This causes various issues to come up in the MemoryOpt pass, because ld/st with in

[Mesa-dev] [PATCH v3 16/30] nvir/nir: implement nir_intrinsic_store_(per_vertex_)output

2018-01-07 Thread Karol Herbst
v3: add workaround for RA issues indirects have to be multiplied by 0x10 fix indirect access Signed-off-by: Karol Herbst --- .../drivers/nouveau/codegen/nv50_ir_from_nir.cpp | 54 ++ 1 file changed, 54 insertions(+) diff --git a/src/gallium/drivers/nouveau/codegen/

[Mesa-dev] [PATCH v3 18/30] nvir/nir: implement intrinsic_discard(_if)

2018-01-07 Thread Karol Herbst
Signed-off-by: Karol Herbst --- src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp | 15 +++ 1 file changed, 15 insertions(+) diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp index 34dbe86551..fe4a

[Mesa-dev] [PATCH v3 22/30] nvir/nir: add getOperation for intrinsics

2018-01-07 Thread Karol Herbst
Signed-off-by: Karol Herbst --- .../drivers/nouveau/codegen/nv50_ir_from_nir.cpp | 24 ++ 1 file changed, 24 insertions(+) diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp index 3fe91462c7..ae9

[Mesa-dev] [PATCH v3 21/30] nvir/nir: implement nir_instr_type_tex

2018-01-07 Thread Karol Herbst
a lot of those fields are not valid for a lot of tex ops. Not quite sure if it's worth the effort to check for those or just keep it like that. It seems to kind of work. v2: reworked offset handling add tex support with indirect R/S arguments handle GLSL_SAMPLER_DIM_EXTERNAL drop refer

[Mesa-dev] [PATCH v3 26/30] nvir/nir: implement nir_intrinsic_load_ubo

2018-01-07 Thread Karol Herbst
Signed-off-by: Karol Herbst --- src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp | 14 ++ 1 file changed, 14 insertions(+) diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp index 905a18d9d9..fe06b

[Mesa-dev] [PATCH v3 27/30] nvir/nir: implement ssbo intrinsics

2018-01-07 Thread Karol Herbst
Signed-off-by: Karol Herbst --- .../drivers/nouveau/codegen/nv50_ir_from_nir.cpp | 97 ++ 1 file changed, 97 insertions(+) diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp index fe06b4ee8c..6d5

[Mesa-dev] [PATCH v3 28/30] nvir/nir: implement images

2018-01-07 Thread Karol Herbst
v3: fix compiler warnings Signed-off-by: Karol Herbst --- .../drivers/nouveau/codegen/nv50_ir_from_nir.cpp | 287 +++-- 1 file changed, 269 insertions(+), 18 deletions(-) diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp b/src/gallium/drivers/nouveau/codeg

[Mesa-dev] [PATCH v3 29/30] nvir/nir: add memory barriers

2018-01-07 Thread Karol Herbst
Signed-off-by: Karol Herbst --- src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp | 11 +++ 1 file changed, 11 insertions(+) diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp index 0c19cb953d..08490a39

[Mesa-dev] [PATCH v3 30/30] nvir/nir: implement load_per_vertex_output

2018-01-07 Thread Karol Herbst
Signed-off-by: Karol Herbst --- .../drivers/nouveau/codegen/nv50_ir_from_nir.cpp | 30 ++ 1 file changed, 30 insertions(+) diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp index 08490a39e9..c40

Re: [Mesa-dev] [PATCH v3 00/30] Nir support for Nouveau

2018-01-07 Thread Ilia Mirkin
On Sun, Jan 7, 2018 at 3:42 PM, Karol Herbst wrote: > significant changes to last series: > * disable support for 64 bit types > * fix tessellation shader bugs > * assume vec4 elements for variable index arrays (MemoryOpts workaround) > > piglit run -x glx -x egl -x streaming-texture-leak -x max-t

Re: [Mesa-dev] [PATCH v3 00/30] Nir support for Nouveau

2018-01-07 Thread Karol Herbst
On Sun, Jan 7, 2018 at 9:51 PM, Ilia Mirkin wrote: > On Sun, Jan 7, 2018 at 3:42 PM, Karol Herbst wrote: >> significant changes to last series: >> * disable support for 64 bit types >> * fix tessellation shader bugs >> * assume vec4 elements for variable index arrays (MemoryOpts workaround) >> >>

[Mesa-dev] [Bug 103538] vkDestroySwapchain causes deadlock on Wayland compositor with X11

2018-01-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103538 Jan Vlug changed: What|Removed |Added CC||jan.pub...@famvlug.nl -- You are receiving

Re: [Mesa-dev] [PATCH v3 00/30] Nir support for Nouveau

2018-01-07 Thread Connor Abbott
On Sun, Jan 7, 2018 at 3:42 PM, Karol Herbst wrote: > significant changes to last series: > * disable support for 64 bit types > * fix tessellation shader bugs > * assume vec4 elements for variable index arrays (MemoryOpts workaround) > > piglit run -x glx -x egl -x streaming-texture-leak -x max-t

Re: [Mesa-dev] [PATCH v3 00/30] Nir support for Nouveau

2018-01-07 Thread Ilia Mirkin
On Sun, Jan 7, 2018 at 6:39 PM, Connor Abbott wrote: > On Sun, Jan 7, 2018 at 3:42 PM, Karol Herbst wrote: >> significant changes to last series: >> * disable support for 64 bit types >> * fix tessellation shader bugs >> * assume vec4 elements for variable index arrays (MemoryOpts workaround) >>

Re: [Mesa-dev] [PATCH 07/22] dri/common: Add option to allow exposure of 10 bpc color configs. (v2)

2018-01-07 Thread Steven Newbury
On Fri, 2017-12-15 at 23:04 +0100, Mario Kleiner wrote: > Some clients may not like RGB10X2 and RGB10A2 fbconfigs and > visuals. Add a new driconf option 'allow_rgb10_configs' to > allow per application enable/disable. > > The option defaults to enabled. > > v2: Rename expose_rgb10_configs to all

Re: [Mesa-dev] [PATCH v3 00/30] Nir support for Nouveau

2018-01-07 Thread Connor Abbott
On Sun, Jan 7, 2018 at 6:50 PM, Ilia Mirkin wrote: > On Sun, Jan 7, 2018 at 6:39 PM, Connor Abbott wrote: >> On Sun, Jan 7, 2018 at 3:42 PM, Karol Herbst wrote: >>> significant changes to last series: >>> * disable support for 64 bit types >>> * fix tessellation shader bugs >>> * assume vec4 ele

[Mesa-dev] [PATCH 3/7] nir: partially revert c2acf97fcc9b32e

2018-01-07 Thread Timothy Arceri
c2acf97fcc9b32e changed the use of double_inputs_read to be inconsitent with its previous meaning. Here we re-enable the gather info code that was removed as the modified code from c2acf97fcc9b32e now uses the double_inputs member rather than double_inputs_read. This change allows us to use double

[Mesa-dev] [PATCH 1/7] compiler: tidy up double_inputs_read uses

2018-01-07 Thread Timothy Arceri
First we move double_inputs_read into a vs struct in the union, double_inputs_read is only used for vs inputs so this will save space and also allows us to add a new double_inputs field. We add the new field because c2acf97fcc9b changed the behaviour of double_inputs_read, and while it's no longer

[Mesa-dev] [PATCH 4/7] radeonsi/nir: fix num_inputs for doubles in vs

2018-01-07 Thread Timothy Arceri
--- src/gallium/drivers/radeonsi/si_shader_nir.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_shader_nir.c b/src/gallium/drivers/radeonsi/si_shader_nir.c index d5b8f835b9..2d0e3e207e 100644 --- a/src/gallium/drivers/radeonsi/si_

[Mesa-dev] [PATCH 2/7] nir: add vs_inputs_dual_locations compiler option

2018-01-07 Thread Timothy Arceri
Allows nir drivers to either use a single or dual locations for vs double inputs. i965 uses dual locations for both OpenGL and Vulkan drivers, for now gallium OpenGL drivers only use a single location. The following patch will also make use of this option when calling nir_shader_gather_info(). --

[Mesa-dev] radeonsi nir arb_vertex_attrib_64bit fixes

2018-01-07 Thread Timothy Arceri
This series fixes all of the failing arb_vertex_attrib_64bit piglit tests ~1000. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH 5/7] radeonsi: add bitcast_inputs() helper

2018-01-07 Thread Timothy Arceri
Will be used in a following patch to help support doubles. --- src/gallium/drivers/radeonsi/si_shader_nir.c | 21 +++-- 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_shader_nir.c b/src/gallium/drivers/radeonsi/si_shader_nir.c index

[Mesa-dev] [PATCH 6/7] radeonsi: pass input_idx to declare_nir_input_vs()

2018-01-07 Thread Timothy Arceri
This make it consistent with declare_nir_input_fs() and will allow us to support doubles. --- src/gallium/drivers/radeonsi/si_shader_nir.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_shader_nir.c b/src/gallium/drivers/radeonsi/si_shader

[Mesa-dev] [PATCH 7/7] radeonsi/nir: add support vs double inputs

2018-01-07 Thread Timothy Arceri
--- src/gallium/drivers/radeonsi/si_shader_nir.c | 5 + 1 file changed, 5 insertions(+) diff --git a/src/gallium/drivers/radeonsi/si_shader_nir.c b/src/gallium/drivers/radeonsi/si_shader_nir.c index d05eb36d80..2218b7ad81 100644 --- a/src/gallium/drivers/radeonsi/si_shader_nir.c +++ b/src/ga

Re: [Mesa-dev] [PATCH v3 00/30] Nir support for Nouveau

2018-01-07 Thread Ilia Mirkin
On Sun, Jan 7, 2018 at 7:24 PM, Connor Abbott wrote: > On Sun, Jan 7, 2018 at 6:50 PM, Ilia Mirkin wrote: >> On Sun, Jan 7, 2018 at 6:39 PM, Connor Abbott wrote: >>> On Sun, Jan 7, 2018 at 3:42 PM, Karol Herbst wrote: significant changes to last series: * disable support for 64 bit ty

Re: [Mesa-dev] [PATCH] glsl: Respect std430 layout in lower_buffer_access

2018-01-07 Thread Timothy Arceri
Ccing stable. I've pushed this patch and the piglit test. Thanks for the patches :) On 06/01/18 01:33, Florian Will wrote: Respect the std430 rules for determining offset and size of struct members when using a std430 buffer. std140 rules lead to wrong buffer offsets in that case. Fixes my tes

Re: [Mesa-dev] [PATCH 3/3] radv: Implement VK_ANDROID_native_buffer.

2018-01-07 Thread Dave Airlie
On 5 January 2018 at 03:38, Bas Nieuwenhuizen wrote: > Passes > dEQP-VK.api.smoke.* > dEQP-VK.wsi.android.* > > with android-cts-7.1_r12 . > > Unlike the initial anv implementation this does > use syncobjs instead of waiting on the CPU. > > This is missing meson build coverage for now. > > One

[Mesa-dev] [PATCH 1/2] radeonsi: add load_tess_level() helper

2018-01-07 Thread Timothy Arceri
This will be shared by the tgsi and nir backends. v2: move si_shader_io_get_unique_index_patch() call inside the helper. Reviewed-by: Nicolai Hähnle (v1) --- src/gallium/drivers/radeonsi/si_shader.c | 33 ++-- 1 file changed, 19 insertions(+), 14 deletions(-) di

[Mesa-dev] [PATCH 2/2] ac: add load_tess_level() to the abi

2018-01-07 Thread Timothy Arceri
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 v2: make use of si_shader_io_get_uniq

[Mesa-dev] [PATCH] genxml: Add missing INSTDONE_1 bits on Gen7.5+.

2018-01-07 Thread Kenneth Graunke
This will make aubinator_error_decode decode them properly. --- src/intel/genxml/gen10.xml | 2 ++ src/intel/genxml/gen75.xml | 2 ++ src/intel/genxml/gen8.xml | 2 ++ src/intel/genxml/gen9.xml | 2 ++ 4 files changed, 8 insertions(+) diff --git a/src/intel/genxml/gen10.xml b/src/intel/genxml/g

[Mesa-dev] [PATCH] ac: rework emit_barrier() to not segfault on radeonsi

2018-01-07 Thread Timothy Arceri
nir_to_llvm_context will always be NULL for radeonsi so we need work around this. --- src/amd/common/ac_nir_to_llvm.c | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c index 5203b78537..a729fe5f6d

Re: [Mesa-dev] [PATCH] ac: rework emit_barrier() to not segfault on radeonsi

2018-01-07 Thread Dave Airlie
On 8 January 2018 at 16:45, Timothy Arceri wrote: > nir_to_llvm_context will always be NULL for radeonsi so we need > work around this. Reviewed-by: Dave Airlie > --- > src/amd/common/ac_nir_to_llvm.c | 17 - > 1 file changed, 8 insertions(+), 9 deletions(-) > > diff --git a/sr

Re: [Mesa-dev] [RFC PATCH 0/6] r600: speed up tesselation shaders

2018-01-07 Thread Dave Airlie
On 6 January 2018 at 03:41, Gert Wollny wrote: > Am Freitag, den 05.01.2018, 18:18 +0100 schrieb Gert Wollny: >> >> Well, I have tested some piglits now and the behaviour is quite >> wired: >> >> When I run nop as the very first piglit after booting the machine it >> works. After running other pig