URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7c3bd519e70c4497079437330430a8c486991158
Author: Bas Nieuwenhuizen <[email protected]>
Date: Mon Aug 28 00:18:44 2017 +0200
radv: Don't allocate CMASK for linear images.
We can't use it anyway in fast clears, and on GFX9 it seems to
actually hange the card if we specify it.
Fixes: f4e499ec791 "radv: add initial non-conformant radv vulkan driver"
(cherry picked from commit 1a172fb113554fa03053052b161d5e22fc2fcb1f)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c6b3732967bc886430a6c00c353b0bba90dd117b
Author: Bas Nieuwenhuizen <[email protected]>
Date: Wed Aug 30 00:58:03 2017 +0200
radv: Disable multilayer & multilevel DCC.
The current DCC init routine doesn't account for initializing a
single layer or level. Multilayer seems hard for small textures on
pre-GFX9 as tre metadata for the layers can be interleaved. For
GFX9 multilevel textures are a problem for similar reasons.
So just disable this for now, until we handle the texture modes
correctly.
Fixes: f4e499ec791 "radv: add initial non-conformant radv vulkan driver"
(cherry picked from commit bee83b26611c0a4a554aa37c59187351242e82fd)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e012ade1cfa6df420d60502b1acee557b3df7617
Author: Eric Engestrom <[email protected]>
Date: Tue Sep 12 15:35:54 2017 +0100
docs/egl: remove reference to EGL_DRIVERS_PATH
Support for external egl drivers was dropped a few years ago.
Fixes: 209360bbb91bb10346eb "egl/main: drop support for external egl
drivers"
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
(cherry picked from commit 85b66d20969685c26d3f7d22b6fc7b988872fa88)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=41e691d60518791d6676f526858b37a9f31c08d8
Author: Dave Airlie <[email protected]>
Date: Fri Sep 8 12:30:23 2017 +1000
radv/winsys: fix flags vs va_flags thinko.
Fixes: e8d57802f (radv/gfx9: allocate events from uncached VA space)
Signed-off-by: Dave Airlie <[email protected]>
(cherry picked from commit a5add6fb30e24c4e0177a98758888682d7e6ea36)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b6ae4400fc520736b0810f723ff4b5efba9ad004
Author: Emil Velikov <[email protected]>
Date: Thu Aug 3 19:29:27 2017 +0100
egl/x11/dri3: adding missing __DRI_BACKGROUND_CALLABLE extension
Fixes: 3b7b6adf3ac ("egl: Implement __DRI_BACKGROUND_CALLABLE")
Cc: Timothy Arceri <[email protected]>
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
(cherry picked from commit f24bc1816242895d0bc0711a50bd2dfd3cb8b21a)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c47914276eab768fe40021b4459630a372f3becb
Author: Bas Nieuwenhuizen <[email protected]>
Date: Wed Sep 6 00:28:22 2017 +0200
radv: Fix vkCopyImage with both depth and stencil aspects.
Fixes: f4e499ec791 "radv: add initial non-conformant radv vulkan driver"
Reviewed-by: Dave Airlie <[email protected]>
(cherry picked from commit ff23e03d60d264a64fce340c132404c6070050a0)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=536f852d42184217e80b879a50b5450827eeed34
Author: Bas Nieuwenhuizen <[email protected]>
Date: Sun Sep 3 23:35:37 2017 +0200
radv: Actually set the cmd_buffer usage_flags.
Otherwise, the simultaneous uage bit doesn't get set from the begin
info, which we need for batchchaining.
Fixes: f4e499ec791 "radv: add initial non-conformant radv vulkan driver"
Reviewed-by: Dave Airlie <[email protected]>
(cherry picked from commit dec7b38fe62a1db46c5150a7368d3bb3c5e45305)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=fdc4f6e6849e40d891347483c00acdd64c9e0f84
Author: Grazvydas Ignotas <[email protected]>
Date: Mon Aug 28 00:29:36 2017 +0300
radv: don't assert on empty hash table
Currently if table_size is 0, it's falling through to:
unreachable("hash table should never be full");
But table_size can be 0 when RADV_DEBUG=nocache is set, or when the
table allocation fails (which is not considered an error).
Fixes: f4e499ec791 "radv: add initial non-conformant radv vulkan driver"
Signed-off-by: Grazvydas Ignotas <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
(cherry picked from commit b8dd69e1b49a5c4c5c82e34f804a97f7448ff6c3)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8cf9e5ab56f67ffc5698923a2e163ee3618afff0
Author: Eric Engestrom <[email protected]>
Date: Wed Aug 30 14:10:06 2017 +0100
mesa/st: remove unwanted backup file
Fixes: 0ac78dc92582a59d4319 "util: move string_to_uint_map to glsl"
Cc: Emil Velikov <[email protected]>
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
(cherry picked from commit ac0d8dc3fa3b294104d0c8ba54262e7b07389cb9)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d5c71e44c49e0b6730ad84e9eccffdb463af3308
Author: Samuel Pitoiset <[email protected]>
Date: Tue Aug 29 17:37:14 2017 +0200
radeonsi: update dirty_level_mask before dispatching
This fixes a rendering issue with Hitman when bindless textures
are enabled.
Fixes: 2263610827 ("radeonsi: flush DB caches only when transitioning from
DB to texturing")
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
(cherry picked from commit 59101e771d63d3d623828a173454fdbbcb719ec3)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=53190187cc83f1e3a9ec63b9efec6427b77c56cf
Author: Nicolai Hähnle <[email protected]>
Date: Thu Aug 24 15:41:08 2017 +0200
glsl: fix glsl_struct_field size calculations for shader cache
Found by address sanitizer:
==22621==ERROR: AddressSanitizer: heap-buffer-overflow on address
0x61400000cbd8 at pc 0x7f561610a4ff bp 0x7ffca85f9d50 sp 0x7ffca85f94f8
READ of size 344 at 0x61400000cbd8 thread T0
#0 0x7f561610a4fe (/usr/lib/x86_64-linux-gnu/libasan.so.3+0x5f4fe)
#1 0x7f560bb305a5 in memcpy
/usr/include/x86_64-linux-gnu/bits/string3.h:53
#2 0x7f560bb305a5 in blob_write_bytes
../../../mesa-src/src/compiler/glsl/blob.c:136
#3 0x7f560be7d7ff in encode_type_to_blob
../../../mesa-src/src/compiler/glsl/shader_cache.cpp:153
#4 0x7f560be81222 in write_program_resource_data
../../../mesa-src/src/compiler/glsl/shader_cache.cpp:950
#5 0x7f560be81222 in write_program_resource_list
../../../mesa-src/src/compiler/glsl/shader_cache.cpp:1118
#6 0x7f560be81222 in shader_cache_write_program_metadata(gl_context*,
gl_shader_program*) ../../../mesa-src/src/compiler/glsl/shader_cache.cpp:1407
#7 0x7f560b825fdb in link_program
../../../mesa-src/src/mesa/main/shaderapi.c:1163
Fixes: 073a84ff60db ("glsl: stop adding pointers from glsl_struct_field to
the cache")
Reviewed-by: Timothy Arceri <[email protected]>
(cherry picked from commit 4da6cf6c98aeca8c143ecb5e0ada5e1eee81a0f5)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=366e02f99216896900a5d3eba768ed52b0d50dd0
Author: Emil Velikov <[email protected]>
Date: Wed Sep 13 21:27:04 2017 +0100
cherry-ignore: add EGL+gbm swast patches
They depend on an earlier commit which did not land in branch.
Signed-off-by: Emil Velikov <[email protected]>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5cec0937730ee4864e1b876ec900b289130b4fbe
Author: Nicolai Hähnle <[email protected]>
Date: Tue Sep 5 16:16:29 2017 +0200
ac/surface: match Z and stencil tile config
Fixes various piglit tests on Stoney, see the comment.
Cc: [email protected]
Reviewed-by: Marek Olšák <[email protected]>
(cherry picked from commit cffc0ae0d9e572a82ce88c09e6ee8e2ed2a9be91)
[Emil Velikov: attribute for the different gfx6_surface_settings()]
Signed-off-by: Emil Velikov <[email protected]>
Conflicts:
src/amd/common/ac_surface.c
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=69394e3517d3afa084319a8d736e9ccb80c5face
Author: Nicolai Hähnle <[email protected]>
Date: Sun Sep 10 19:19:40 2017 +0200
radeonsi: apply a mask to gl_SampleMaskIn in the PS prolog
gl_SampleMaskIn is supposed to contain set bits only for the samples that
are covered by the current fragment shader invocation, but the VGPR
initialization hardware loads the set of all bits that are covered at the
current pixel.
Fixes various tests in
dEQP-GLES31.functional.shaders.sample_variables.sample_mask_in.*
Cc: [email protected]
Reviewed-by: Marek Olšák <[email protected]>
(cherry picked from commit 92c4277990799641d4986ce66a62366228713945)
[Emil Velikov: attribute for the lack of add_arg*checked() API]
Signed-off-by: Emil Velikov <[email protected]>
Conflicts:
src/gallium/drivers/radeonsi/si_shader.c
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c0c1e05fb602e88124d54e50e7cf68ce80df4cb1
Author: Timothy Arceri <[email protected]>
Date: Mon Aug 14 09:23:41 2017 +1000
glsl: stop adding pointers from bindless structs to the cache
This is so we always create reproducible cache entries. Consistency
is required for verification of any third party distributed shaders.
Reviewed-by: Samuel Pitoiset <[email protected]>
(cherry picked from commit 4009370232f87227655f8f41949e9a56650fb1f5)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=94b656cb5e82381b18be59a839a68eda1ede35e4
Author: Timothy Arceri <[email protected]>
Date: Fri Aug 11 15:13:38 2017 +1000
glsl: stop adding pointers from shader_info to the cache
This is so we always create reproducible cache entries. Consistency
is required for verification of any third party distributed shaders.
Reviewed-by: Samuel Pitoiset <[email protected]>
(cherry picked from commit a6618afd2740f997cc23bd75de712af6452589a7)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5e0b556abc687a3c42125c5cfbfdc478fd8f85f5
Author: Timothy Arceri <[email protected]>
Date: Wed Aug 23 09:10:27 2017 +1000
compiler: move pointers to the start of shader_info
This will allow us to easily skip them when writting the struct
to disk cache.
Reviewed-by: Samuel Pitoiset <[email protected]>
(cherry picked from commit 3ea3f757237d977adfb69293654522647d1812b3)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f087dad40dfb70cfd77de8e2e8d5b949c7882cc5
Author: Timothy Arceri <[email protected]>
Date: Fri Aug 11 14:59:02 2017 +1000
glsl: always write a name/label string to the cache
In the following patch we will stop writing the pointer to cache.
Unfortunately adding empty strings to that cache seems to be the
only thing we can do here once we no longer have the pointers.
Reviewed-by: Samuel Pitoiset <[email protected]>
(cherry picked from commit 44918a197905e4e9d09e32b7d07945948ca2da07)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=83bbfaddf1ae4503bf714c02ff47820944695d08
Author: Timothy Arceri <[email protected]>
Date: Fri Aug 11 14:22:07 2017 +1000
glsl: don't write uniform storage offset if there isn't one
This is so we always create reproducible cache entries. Consistency
is required for verification of any third party distributed shaders.
Reviewed-by: Samuel Pitoiset <[email protected]>
(cherry picked from commit 22154823d21f17a5fdff7b1fe3c92b61f5389d88)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a8eea040cd8ef21ab0a35f6aebf2ba8c74d28c3d
Author: Timothy Arceri <[email protected]>
Date: Fri Aug 11 14:17:24 2017 +1000
glsl: add has_uniform_storage() helper to shader cache
Reviewed-by: Samuel Pitoiset <[email protected]>
(cherry picked from commit 2662269ad791141eb61c14d7a57df2800fa6d91c)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=15ecbb2c07dbdaf75267d3c759da3a08367f66d7
Author: Timothy Arceri <[email protected]>
Date: Fri Aug 11 14:01:34 2017 +1000
glsl: stop adding pointers from glsl_struct_field to the cache
This is so we always create reproducible cache entries. Consistency
is required for verification of any third party distributed shaders.
Reviewed-by: Samuel Pitoiset <[email protected]>
(cherry picked from commit 073a84ff60dbaef6331e2bcd8f5ca2de0b2ff7d2)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7fef8d436abbec4f4d88a3a53d0f61063a8a5df0
Author: Timothy Arceri <[email protected]>
Date: Fri Aug 11 13:55:13 2017 +1000
glsl: stop adding pointers from gl_shader_variable to the cache
This is so we always create reproducible cache entries. Consistency
is required for verification of any third party distributed shaders.
Reviewed-by: Samuel Pitoiset <[email protected]>
(cherry picked from commit 37d453b55a7b4c1b10d28dba4acfe12de4634bc8)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ea1bcfc0632b9496c5de3597ee393ceaf1b65119
Author: Timothy Arceri <[email protected]>
Date: Fri Aug 11 13:53:18 2017 +1000
glsl: allow NULL to be passed to encode_type_to_blob()
This will be used by the following commit.
Reviewed-by: Samuel Pitoiset <[email protected]>
(cherry picked from commit 37eb67714e0092a5d80ec40d10ca1fe72fa64657)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6e2b9fba2138c15b6cc6e8c4076161b3e66dc1b5
Author: Eric Engestrom <[email protected]>
Date: Thu Aug 31 16:55:56 2017 +0000
util: improve compiler guard
Glibc 2.26 has dropped xlocale.h, but the functions needed (strtod_l()
and strdof_l()) can be found in stdlib.h.
Improve the detection method to allow newer builds to still make use of
the locale-setting.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102454
Cc: Laurent Carlier <[email protected]>
Cc: Emil Velikov <[email protected]>
Cc: Rob Herring <[email protected]>
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Laurent Carlier <[email protected]>
Reviewed-by: Jose Fonseca <[email protected]>
(cherry picked from commit 49b428470e28ae6ab22083e43fa41abf622f3b0d)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=dcb634df92f9392340eb5d4c718c0552b4e2097e
Author: Kenneth Graunke <[email protected]>
Date: Tue May 30 14:29:08 2017 -0700
i965: Set "Subslice Hashing Mode" to 16x16 on Apollolake.
As of 4.11, the kernel isn't bothering to set the subslice hashing mode
on Apollolake, leaving it at the default of 8x8. (It initializes it to
16x4 on most platforms.)
Performance data for GPUTest Triangle on Apollolake at 1024x640:
X-tiled RT:
-----------
8x8 -> 16x4: 2.4325% +/- 0.383683% (n=107)
8x8 -> 8x4: -3.75105% +/- 0.592491% (n=40)
8x8 -> 16x16: 6.17238% +/- 0.67157% (n=30)
Y-tiled RT:
-----------
8x8 -> 16x4: 1.30307% +/- 0.297292% (n=205)
8x8 -> 8x4: -0.769282% +/- 0.729557% (n=35)
8x8 -> 16x16: 3.00254% +/- 0.715503% (n=40)
8x MSAA RT (INTEL_FORCE_MSAA=8):
--------------------------------
8x8 -> 16x4: 1.38889% +/- 0.93729% (n=7)
8x8 -> 8x4: -2.10643% +/- 1.15153% (n=3)
8x8 -> 16x16: 3.87183% +/- 1.08851% (n=5)
Based on this, we choose 16x16 for Apollolake.
Skylake GT2 with X-tiled buffers appears to be a toss-up between 16x4
and 16x16, and with Y-tiled buffers it doesn't seem to really matter.
So we'll leave Skylake alone for now.
The hashing mode doesn't seem to make a measurable impact on more
complex benchmarks.
Acked-by: Matt Turner <[email protected]>
(cherry picked from commit ebd2fd6ef3b50dc85190b407d0921c91b6c4f1ca)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=20be71ba7c42de3c6dc4c3c6d5cfea98dedda789
Author: Dave Airlie <[email protected]>
Date: Tue Aug 15 15:35:52 2017 +1000
radv/gfx9: fix image resource handling.
GFX9 changes how images are layed out, so this needs updating.
Fixes: dEQP-VK.query_pool.statistics_query.*
Cc: "17.2" <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
(cherry picked from commit 3633bae36b56a8667d31096b3c3472ab388c4fbf)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a3d1ea347a84871536e2a912014bc4cb8e9da8c7
Author: Dave Airlie <[email protected]>
Date: Tue Sep 12 22:15:11 2017 -0700
radv/ac: bump params array for image atomic comp swap
For the comp_swap case this was overflowing and crashing
sometimes.
Fixes:
dEQP-VK.image.atomic_operations.compare_exchange.*
Cc: "17.2" <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
(cherry picked from commit aba441be44a2e4bb914e805c4cd064c72e4ea038)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=dc640aab63fcbd556bd71f97fdeb77c4d1e81750
Author: Dave Airlie <[email protected]>
Date: Mon Aug 21 21:02:03 2017 +0100
radv/gfx9: set mip0-depth correctly for 2d arrays/3d images
This field covers the whole resource.
Fixes:
dEQP-VK.pipeline.image.suballocation.sampling_type.combined.view_type.3d.format.*
dEQP-VK.texture.filtering.3d.combinations.*
Cc: "17.2" <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
(cherry picked from commit ebd2a5354df64ef504f1e213afd2d6ab9d69a776)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c8076c8ea1fc8b0370cb6cef202175a02a096fcf
Author: Dave Airlie <[email protected]>
Date: Wed Aug 16 06:20:29 2017 +0100
radv: handle GFX9 1D textures
As GFX9 can't handle 1D depth textures, radeonsi and
apparantly pro just update all 1D textures to 2D,
and work around it.
This ports the workarounds from radeonsi.
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Cc: "17.2" <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
(cherry picked from commit 1bcb953e16600e0d9329b678a6eacee98d326547)
Conflicts:
src/amd/common/ac_nir_to_llvm.c
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=62f0bb2a8778240c30d168ae3eb550ddbe30edc1
Author: Dave Airlie <[email protected]>
Date: Tue Aug 22 13:35:53 2017 +1000
radv: don't use iview for meta image width/height.
Work out the width/height from the level manually, as on GFX9
we won't minify the iview width/height.
This fixes:
dEQP-VK.api.image_clearing.core.clear_color_image* on gfx9
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Cc: "17.2" <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
(cherry picked from commit 2f5b4490b59062f224e73f7a2d5cc0d8bd8eaa7b)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=40f06286f9547631e992235ad10c72be83684375
Author: Emil Velikov <[email protected]>
Date: Wed Sep 13 21:50:49 2017 +0100
cherry-ignore: add execution_type() fix to the list
As mentioned by Matt:
"Without commit 4fab67a4415, this patch isn't needed at all."
Signed-off-by: Emil Velikov <[email protected]>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0f79eb7abe045606117132b860ecff80b769b7e4
Author: Nicolai Hähnle <[email protected]>
Date: Thu Sep 7 18:43:42 2017 +0200
st/glsl_to_tgsi: only the first (inner-most) array reference can be a 2D
index
Don't get distracted by record dereferences between array references.
Fixes dEQP-GLES31.functional.tessellation.user_defined_io.per_vertex_block.*
Cc: [email protected]
Reviewed-by: Marek Olšák <[email protected]>
(cherry picked from commit 03203b74486357c2bc77c53302f0f667f1df3ffa)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=54c5568fa9a42dd14c27fc5c3e59e5a20a97f2d3
Author: Dave Airlie <[email protected]>
Date: Thu Sep 7 04:02:33 2017 +0100
radv: use simpler indirect packet 3 if possible.
This fixes some observed hangs on CIK GPUs.
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Cc: "17.2" <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
(cherry picked from commit 219d29e4d83d8c901f127c8a004c45c23c15751e)
[Emil Velikov: add the hunk in radv_emit_indirect_draw]
Signed-off-by: Emil Velikov <[email protected]>
Conflicts:
src/amd/vulkan/radv_cmd_buffer.c
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c2f314d721fc09310d548c0417829cfbaeebe82b
Author: Dave Airlie <[email protected]>
Date: Wed Sep 6 20:40:57 2017 -0700
radv/gfx9: allocate events from uncached VA space
This copies what amdgpu-pro does, and allocates the memory
for an event with an uncached mtype.
This fixes hangs with:
dEQP-VK.api.command_buffers.record_simul_use_primary
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Cc: "17.2" <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
(cherry picked from commit e8d57802fea60d4b353761ba1bdb08545733c007)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=fe04abc6e9a81e7cb3c65c47f4e3d72f56828014
Author: Dave Airlie <[email protected]>
Date: Thu Sep 7 20:54:51 2017 +0100
radv/winsys: use amdgpu_bo_va_op_raw.
This is a precursor to the gfx9 fix to use uncached for the event
memory. Move to the interface which allows setting the flags,
but wrap it to avoid having to copy it around the place.
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Cc: "17.2" <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
(cherry picked from commit 76ac8fafadca86941f2723f7f7176b22112f5c0c)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0e305f0518eff6d12bfaedd27e12db1223b20757
Author: Marek Olšák <[email protected]>
Date: Fri Sep 1 23:27:35 2017 +0200
st/mesa: skip draw calls with pipe_draw_info::count == 0
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102502
Cc: 17.2 <[email protected]>
Tested-by: Alexandre Demers <[email protected]>
Tested-by: Dieter Nützel <[email protected]>
Acked-by: Timothy Arceri <[email protected]>
(cherry picked from commit e4018fdd85d8b58250c2cff8cdf4edd6b2b3c70b)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=cb9dae484a9e96afef0b9f3b1ffa5939f96a9171
Author: Nicolai Hähnle <[email protected]>
Date: Mon Sep 4 11:09:46 2017 +0200
radeonsi/gfx9: always flush DB metadata on framebuffer changes
This fixes GL45-CTS.shader_image_load_store.basic-glsl-earlyFragTests.
Cc: [email protected]
Reviewed-by: Marek Olšák <[email protected]>
(cherry picked from commit 34124e412f00432ba8b3b8d16e3f2168aa596622)
[Emil Velikov: resolve trivial conflicts]
Signed-off-by: Emil Velikov <[email protected]>
Conflicts:
src/gallium/drivers/radeonsi/si_pipe.h
src/gallium/drivers/radeonsi/si_state.c
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=57ecf28668e54b13ffb483352ff935e65f9416f1
Author: Dave Airlie <[email protected]>
Date: Mon Aug 21 04:25:59 2017 +0100
Revert "radv: disable support for VEGA for now."
This reverts commit 611076a41aac3095a82dff2432943d7f8d429822.
With the two previous commits, vega shouldn't be unstable,
doesn't pass CTS, but can do a complete run, and games shouldn't
hang anymore, so bring it back online.
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Cc: "17.2" <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
(cherry picked from commit e38685cc62e2a452521c49a3ad09d82495c6b1d0)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=78e2b539a46b12250664270db13d33300d93539e
Author: Dave Airlie <[email protected]>
Date: Mon Aug 21 21:08:10 2017 +0100
radv/gfx9: set descriptor up for base_mip to level range.
This is required on GFX9, fixes a bug in Talos where all the
mipmaps overlay each other.
Just pushing this as well as it fixes Talos.
Cc: "17.2" <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
(cherry picked from commit 6d929d3f85604768971d04fa2548f02ffca1696e)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=86d4c203bd1db7abc3ef9119948f3a16492327de
Author: Dave Airlie <[email protected]>
Date: Tue Aug 22 12:47:09 2017 +1000
radv: disable 1d/2d linear optimisation on gfx9.
This causes hangs in some of the CTS tests with a 2d
1536x2 texture.
This fixes hangs with:
dEQP-VK.pipeline.image.suballocation.sampling_type.combined.iew_type.1d_aray.format.r4g4b4a4_unorm_pack16.count_1.size.512x1_array_of_3
if we reenable it, make sure these don't regress.
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Cc: "17.2" <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
(cherry picked from commit d118ff876559e468d2d243470947eee53171fe57)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=bda2975eefdc5143f9c7ad0fa628a7b7c452308a
Author: Jason Ekstrand <[email protected]>
Date: Mon Aug 21 22:11:49 2017 -0700
spirv: Add support for the HelperInvocation builtin
I have no idea how this got missed but it's been missing since forever.
Cc: [email protected]
Reviewed-by: Samuel Iglesias Gonsálvez <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
(cherry picked from commit e439908af9665b50443f1196cb55388c69d0c7d7)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a4dc18efcab396a9d2f696c6a40b41bb239ecce6
Author: Roland Scheidegger <[email protected]>
Date: Fri Sep 1 01:48:42 2017 +0200
st/mesa: fix view template initialization in try_pbo_readpixels
I think this is what the code was meant to do, albeit as far as I can tell
the redundant initialization some analyzers complain about should work as
well just fine (only the first layer will be used, if the view contains one
or more layers doesn't really matter).
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102467
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Cc: [email protected]
(cherry picked from commit 2b2c61f0df5c18355b65772d21be36339ba5e1d9)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8f77409e2bd0527a8bad379ee40f0d535085fcd4
Author: Kenneth Graunke <[email protected]>
Date: Thu Aug 31 23:54:20 2017 -0700
i965: Fix crash in fallback GTT mapping.
We can't perf_debug without a context.
Cc: [email protected]
Reviewed-by: Anuj Phogat <[email protected]>
(cherry picked from commit 52b65dfda84e4d433a332dd84596eef054eb5cbb)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=458f52618a568df5a8456be3c48414175d959149
Author: Rob Clark <[email protected]>
Date: Sat Aug 26 11:55:05 2017 -0400
freedreno: skip batch-cache for compute shaders
It is kind of pointless for compute, and avoids issues with apps kicking
off more than 32 compute shaders at once.
Signed-off-by: Rob Clark <[email protected]>
Cc: "17.2" <[email protected]>
(cherry picked from commit dc9e08b0c3b04ba77ed59b8700e9f43edccb3168)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=402b8073ad870961227001945207d16f0d15d07b
Author: Karol Herbst <[email protected]>
Date: Sun Aug 27 18:00:52 2017 +0200
nvc0: write 0 to pipeline_statistics.cs_invocations
cs_invocations are currently unsupported, but leaving the field
uninitialized
is even worse.
fixes on nvc0:
* KHR-GL45.pipeline_statistics_query_tests_ARB.functional_default_qo_values
*
KHR-GL45.pipeline_statistics_query_tests_ARB.functional_non_rendering_commands_do_not_affect_queries
Signed-off-by: Karol Herbst <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Cc: [email protected]
(cherry picked from commit b672c3833b7ea51c09a6bcbed86b8fb6789448f1)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6fe4852f59044cdd055c0ef7877575e348282836
Author: Ben Crocker <[email protected]>
Date: Wed Aug 23 16:32:43 2017 -0400
llvmpipe: lp_build_gather_elem_vec BE fix for 3x16 load
Fix loading of a 3x16 vector as a single 48-bit load
on big-endian systems (PPC64, S390).
Roland Scheidegger's commit e827d9175675aaa6cfc0b981e2a80685fb7b3a74
plus Ray Strode's patch reduce pre-Roland Piglit failures from ~4000 to
~2000. This patch fixes
three of the four regressions observed by Ray:
- draw-vertices
- draw-vertices-half-float
- draw-vertices-half-float_gles2
One regression remains:
- draw-vertices-2101010
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100613
Cc: "17.2" "17.1" <[email protected]>
Signed-off-by: Ben Crocker <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
(cherry picked from commit 57c8ead0cd08e6aaf88a389f7ce528c4f0face65)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d080f10fdf79844fe25722b49b78b2071ee80a7a
Author: Ray Strode <[email protected]>
Date: Wed Aug 23 16:32:42 2017 -0400
gallivm: correct channel shift logic on big endian
lp_build_fetch_rgba_soa fetches a texel from a texture.
Part of that process involves first gathering the element
together from memory into a packed format, and then breaking
out the individual color channels into separate, parallel
arrays.
The code fails to account for endianess when reading the packed
values.
This commit attempts to correct the problem by reversing the order
the packed values are read on big endian systems.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100613
Cc: "17.2" "17.1" <[email protected]>
Signed-off-by: Ray Strode <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
(cherry picked from commit 75cb6e36178b9474bbb59b76cbbcce2a67bf88d2)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=93b794f094844e2d0b3add8bbf6c9ab8c4557513
Author: Jason Ekstrand <[email protected]>
Date: Thu Jul 27 15:04:25 2017 -0700
anv/formats: Nicely handle unknown VkFormat enums
This fixes some crashes in the dEQP-VK.memory.requirements.core.* tests.
I'm not sure whether or not passing out-of-bound formats into the query
is supposed to be allowed but there's no harm in protecting ourselves
from it.
Reviewed-by: Lionel Landwerlin <[email protected]>
Bugzilla: https://bugs.freedesktop.org/101956
Cc: [email protected]
(cherry picked from commit 242211933a06826961709c2689a1d30f735ab7b9)
Squashed with:
anv: fix off by one in array check
`anv_formats[ARRAY_SIZE(anv_formats)]` is already one too far.
Spotted by Coverity.
CovID: 1417259
Fixes: 242211933a0682696170 "anv/formats: Nicely handle unknown VkFormat
enums"
Cc: Jason Ekstrand <[email protected]>
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Reviewed-by: Samuel Iglesias Gonsálvez <[email protected]>
(cherry picked from commit 0c7272a66c633b0b11c0b81c0f3552201d083b3a)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=520786586d526b0bb7141272748b792686e91b0d
Author: Charmaine Lee <[email protected]>
Date: Wed Aug 30 14:26:41 2017 -0700
vbo: fix offset in minmax cache key
Instead of saving primitive offset in the minmax cache key,
save the actual buffer offset which is used in the cache lookup.
Fixes rendering artifact seen with GoogleEarth when run with
VMware driver.
v2: Per Brian's comment, initialize offset to avoid compiler warning.
Cc: [email protected]
Reviewed-by: Brian Paul <[email protected]>
(cherry picked from commit 2d93b462b4d978b0da417b35a7470e336bc4e783)
Squashed with:
vbo: fix build errors on android
incompatible pointer to integer conversion assigning to 'GLintptr' (aka
'int')
from 'const char *' [-Werror,-Wint-conversion]
offset = indices;
^ ~~~~~~~
Fixes: 2d93b462b4d ("vbo: fix offset in minmax cache key")
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Charmaine Lee <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
(cherry picked from commit 0986f686328216fa201769c630372fd4b6f8877a)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9ffe4cc6c05bc85f3095aad472bb33e587fda8a5
Author: Michael Olbrich <[email protected]>
Date: Tue Aug 29 11:51:20 2017 +0200
egl/dri2: only destroy created objects
dri2_display_destroy may be called by dri2_initialize_wayland_drm() if
initialization fails. In this case, these objects may not be initialized.
Cc: [email protected]
Signed-off-by: Michael Olbrich <[email protected]>
Reviewed-by: Tapani Pälli <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
(cherry picked from commit 81d5c31631840db704337489cf677cc596da79f5)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2b0e70e2aecb16177d895549a53eecdf09a7ef80
Author: Brian Paul <[email protected]>
Date: Mon Aug 28 14:17:26 2017 -0600
llvmpipe: initialize llvmpipe->dirty with LP_NEW_SCISSOR
If llvmpipe_set_scissor_states() is never called, we still need to be sure
that derived scissor/clip state is updated. As of commit 743ad599a97d09b1
that function might not be called.
Fixes regressed Piglit gl-1.0-scissor-offscreen -fbo -auto test.
Reviewed-by: Roland Scheidegger <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101709
Fixes: 743ad599a97 ("st/mesa: don't set 16 scissors and 16 viewports
if they're unused")
Cc: "17.2" <[email protected]>
(cherry picked from commit 88cdf16871a0f1cd8ec3844072051ee38e945600)
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3a9b2e0e7dc373562565cd81f37481dd88ac5a9a
Author: Emil Velikov <[email protected]>
Date: Wed Sep 13 15:10:45 2017 +0100
cherry-ignore: ignore gfx9 tile swizzle fix
As mentioned by Dave and Bas, the patch is not applicable for 17.2
Signed-off-by: Emil Velikov <[email protected]>
URL:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=188010c68df17056c31c8fa4824bfaa229723f66
Author: Emil Velikov <[email protected]>
Date: Wed Sep 13 21:01:47 2017 +0100
cherry-ignore: add getCapability patches
Adding extra infra is not acceptable for stable. Offending code has been
wrapped in a Android compile guard with an earlier commit.
Signed-off-by: Emil Velikov <[email protected]>
_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit