platform/upstream/mesa.git
20 months agodocs/zink: fix and cleanup rst syntax
Erik Faye-Lund [Wed, 2 Nov 2022 19:39:05 +0000 (20:39 +0100)]
docs/zink: fix and cleanup rst syntax

This new section didn't use the correct RST syntax, and ended up
with a broken section in the rendered docs.

Fix the syntax, and clean things up a bit to avoid overly long lines.

Fixes: be235edfe2b ("zink: add profile documentation")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19481>

20 months agozink/ci: document a new fail after a piglit uprev to radv expectations
Martin Roukala (né Peres) [Sat, 5 Nov 2022 06:24:08 +0000 (08:24 +0200)]
zink/ci: document a new fail after a piglit uprev to radv expectations

Add spec@egl 1.4@egl-ext_egl_image_storage,Fail to the list of RADV
expectations.

Fixes: 70ce1dcacc92 ("ci: Update piglit with s3 support")
Signed-off-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19555>

20 months agoradv/ci: use wildcards for the query_pool.statistics_query flakes on VG
Martin Roukala (né Peres) [Sat, 5 Nov 2022 06:07:24 +0000 (08:07 +0200)]
radv/ci: use wildcards for the query_pool.statistics_query flakes on VG

I got yet another new failure in VanGogh, and rather than playing the
game of wack a mole, let's be a little less picky and just use these
wildcards:

 - dEQP-VK.query_pool.statistics_query.geometry_shader_primitives.*
 - dEQP-VK.query_pool.statistics_query.host_query_reset.geometry_shader_primitives.*

Signed-off-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19541>

20 months agointel/compiler: Run extra fp64 lowering pass on devices that don't support int64.
Francisco Jerez [Sat, 29 Oct 2022 00:02:13 +0000 (17:02 -0700)]
intel/compiler: Run extra fp64 lowering pass on devices that don't support int64.

In some cases nir_lower_int64 will emit fp64 operations which aren't
natively supported on any Intel hardware (e.g. ftrunc, frem).  An
extra pass of nir_opt_algebraic (for frem) and nir_lower_doubles is
required in order to take care of them.  This fixes several int64
test-cases on MTL hardware.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Mykhailo Skorokhodov <mykhailo.skorokhodov@globallogic.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19390>

20 months agonir/lower_int64: Fix float16 to int64 conversions.
Francisco Jerez [Fri, 28 Oct 2022 23:27:17 +0000 (16:27 -0700)]
nir/lower_int64: Fix float16 to int64 conversions.

Currently float16 to int64 conversions don't work correctly, because
the "div" variable has an infinite value, since 2^32 isn't
representable as a 16-bit float, which causes the result of of rem(x,
div) to be NaN for all inputs, leading to an incorrect result.  Since
no values of magnitude greater than 2^32 are representable as a
float16 we don't actually need to do the fdiv/frem operations, the
conversion is equivalent to f2u32 with the result padded to 64 bits.

Rework:
 * Jordan: Handle f16 in if/else rather than conditional

Fixes: 936c58c8fcc ("nir: Extend nir_lower_int64() to support i2f/f2i lowering")
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19391>

20 months agoci: Disable automatic jobs on Chromebooks with Comet Lake
Tomeu Vizoso [Mon, 7 Nov 2022 05:50:14 +0000 (06:50 +0100)]
ci: Disable automatic jobs on Chromebooks with Comet Lake

During the weekend they started to show network problems so often that
they are unable to take on jobs.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19566>

20 months agoamd: add cosmetic gfx10 and gfx11 changes
Marek Olšák [Fri, 4 Nov 2022 00:07:19 +0000 (20:07 -0400)]
amd: add cosmetic gfx10 and gfx11 changes

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19477>

20 months agoac/surface/tests: add more gfx103 and gfx11 tests
Marek Olšák [Fri, 4 Nov 2022 00:13:47 +0000 (20:13 -0400)]
ac/surface/tests: add more gfx103 and gfx11 tests

This might start timing out in the CI.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19477>

20 months agoac/llvm: don't use the mbcnt workaround for LLVM 16 and set range metadata
Marek Olšák [Thu, 3 Nov 2022 19:31:17 +0000 (15:31 -0400)]
ac/llvm: don't use the mbcnt workaround for LLVM 16 and set range metadata

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19477>

20 months agoradeonsi: allow int16 with FP16 since it no longer hangs
Marek Olšák [Fri, 4 Nov 2022 03:24:18 +0000 (23:24 -0400)]
radeonsi: allow int16 with FP16 since it no longer hangs

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19477>

20 months agoradeonsi: remove clamping shader code from in-bounds blits
Marek Olšák [Thu, 3 Nov 2022 23:24:50 +0000 (19:24 -0400)]
radeonsi: remove clamping shader code from in-bounds blits

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19477>

20 months agoradeonsi: don't load/resolve/store non-existent src/dst channels in blit shaders
Marek Olšák [Thu, 3 Nov 2022 22:39:00 +0000 (18:39 -0400)]
radeonsi: don't load/resolve/store non-existent src/dst channels in blit shaders

RGBX only loads and resolves 3 components, etc.

v2: buf fixes to make AMD_TEST=computeblit pass

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> (v1)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19477>

20 months agoamd: rename enums ARCTURUS -> MI100, ALDEBARAN -> MI200
Marek Olšák [Wed, 2 Nov 2022 18:42:40 +0000 (14:42 -0400)]
amd: rename enums ARCTURUS -> MI100, ALDEBARAN -> MI200

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19477>

20 months agoradeonsi/gfx11: fix compute scratch buffer - WAVES is always per SE
Marek Olšák [Wed, 2 Nov 2022 18:34:58 +0000 (14:34 -0400)]
radeonsi/gfx11: fix compute scratch buffer - WAVES is always per SE

Fixes: ba02ed91a60 - ac/gfx11: fix the scratch buffer

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19477>

20 months agoradeonsi/ci: update CI results
Marek Olšák [Tue, 27 Sep 2022 01:45:25 +0000 (21:45 -0400)]
radeonsi/ci: update CI results

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19477>

20 months agoradeonsi: fix the compute wave size - it was always Wave32
Marek Olšák [Wed, 2 Nov 2022 18:11:44 +0000 (14:11 -0400)]
radeonsi: fix the compute wave size - it was always Wave32

si_determine_wave_size always returned 32 because shader->info was
uninitialized. Do it after it's initialized.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19477>

20 months agoradv/rra: Remove some node type validation
Konstantin Seurer [Sat, 5 Nov 2022 12:14:05 +0000 (13:14 +0100)]
radv/rra: Remove some node type validation

Node types can only be invalid for certain acceleration structure types.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19544>

20 months agoradv/rra: Improve validation message formatting
Konstantin Seurer [Sat, 5 Nov 2022 12:08:37 +0000 (13:08 +0100)]
radv/rra: Improve validation message formatting

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19544>

20 months agoradv/rra: Rename rra_accel_struct_validation_fail
Konstantin Seurer [Sat, 5 Nov 2022 11:38:50 +0000 (12:38 +0100)]
radv/rra: Rename rra_accel_struct_validation_fail

...to rra_validation_fail since it is used quite often.
Shortening the name should improve readability.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19544>

20 months agoradv/rt: Restore prev barycentrics when rejecting hits
Konstantin Seurer [Fri, 4 Nov 2022 19:57:57 +0000 (20:57 +0100)]
radv/rt: Restore prev barycentrics when rejecting hits

Closes: #6348
cc: mesa-stable

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19534>

20 months agoutil: Add multi-threaded test for util/u_debug.h and util/perf/u_trace.h
Yonggang Luo [Thu, 3 Nov 2022 17:56:34 +0000 (01:56 +0800)]
util: Add multi-threaded test for util/u_debug.h and util/perf/u_trace.h

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Acked-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18764>

20 months agoutil: Fixes memory leak in __getProgramName
Yonggang Luo [Fri, 2 Sep 2022 04:36:51 +0000 (12:36 +0800)]
util: Fixes memory leak in __getProgramName

This is happened when multi-threading access to util_get_process_name

memory leak point:
Direct leak of 4097 byte(s) in 1 object(s) allocated from:
    #0 0x7f42888c0e8f in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
    #1 0x7f4288859d18 in __interceptor_realpath ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:3608
    #2 0x55a9c272e03d in __getProgramName ../src/util/u_process.c:75
    #3 0x55a9c272e03d in util_get_process_name ../src/util/u_process.c:197
    #4 0x55a9c2746da7 in util_queue_init ../src/util/u_queue.c:416
    #5 0x55a9c272c233 in queue_init ../src/util/perf/u_trace.c:403
    #6 0x55a9c272c233 in u_trace_context_init ../src/util/perf/u_trace.c:453
    #7 0x55a9c262eb54 in test_thread ../src/util/tests/perf/u_trace_test.cpp:14
    #8 0x55a9c275228b in impl_thrd_routine ../src/c11/impl/threads_posix.c:67

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Acked-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18764>

20 months agoutil: Fixes debug_get_option_* thread safety by set initialized=true after the value get
Yonggang Luo [Sat, 24 Sep 2022 07:28:52 +0000 (15:28 +0800)]
util: Fixes debug_get_option_* thread safety by set initialized=true after the value get

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Acked-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18764>

20 months agoutil: It's not thread safe to set initialized=true before get the real GALLIUM_PRINT_...
Yonggang Luo [Tue, 30 Aug 2022 17:26:04 +0000 (01:26 +0800)]
util: It's not thread safe to set initialized=true before get the real GALLIUM_PRINT_OPTIONS

Even though initialized = true can make sure have no recursion, but that's may leading to
debug_get_option_should_print return false at the second thread, but the first thread
return true. These two threads should return the same value, even though this function is for
debug only, but it's better to getting it to be correct.

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Acked-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18764>

20 months agoradv: Use compares for node type in traversal.
Bas Nieuwenhuizen [Tue, 1 Nov 2022 21:18:53 +0000 (22:18 +0100)]
radv: Use compares for node type in traversal.

The HW has no bit test instruction, so we change 3 pairs of and+cmp
to a single and + 3 cmps, saving 2 VALU instructions.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19454>

20 months agor600: enable memory objects
Yusuf Khan [Sun, 30 Oct 2022 21:38:15 +0000 (16:38 -0500)]
r600: enable memory objects

Support was there but the cap was not enabled

Signed-off-by: Yusuf Khan <yusisamerican@gmail.com>
Acked-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19406>

20 months agonine: enable on freedreno
David Heidelberg [Sat, 16 Jul 2022 09:35:15 +0000 (11:35 +0200)]
nine: enable on freedreno

nine-tests on Adreno 630:
 ~ 10000 passing
 ~ 85 failures

Acked-by: Rob Clark <robdclark@chromium.org>
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19244>

20 months agoci/broadcom: juint is already defined in .piglit-traces-test
David Heidelberg [Sat, 10 Sep 2022 15:42:43 +0000 (17:42 +0200)]
ci/broadcom: juint is already defined in .piglit-traces-test

Reviewed-by: Emma Anholt <emma@anholt.net>
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18532>

20 months agonir: Fix qsort comparator function
Alex Brachet [Tue, 19 Jul 2022 19:54:04 +0000 (19:54 +0000)]
nir: Fix qsort comparator function

`pred` is a pointer, for sufficiently large numbers these
being cast to int were both > 0 regardless of the order
of `data1` and `data2`.

Fixes: 523a28d3fe0d ("nir: add an instruction set API")

Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19539>

20 months agomath: remove unused matrix_print & print_matrix_floats
António Monteiro [Thu, 3 Nov 2022 11:16:38 +0000 (11:16 +0000)]
math: remove unused matrix_print & print_matrix_floats

Signed-off-by: António Monteiro <antonio.fmr.monteiro@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19428>

20 months agomath: remove vector class
António Monteiro [Thu, 3 Nov 2022 18:22:05 +0000 (18:22 +0000)]
math: remove vector class

Signed-off-by: António Monteiro <antonio.fmr.monteiro@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19428>

20 months agomath: remove unused debug classes
António Monteiro [Thu, 3 Nov 2022 18:14:35 +0000 (18:14 +0000)]
math: remove unused debug classes

Signed-off-by: António Monteiro <antonio.fmr.monteiro@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19428>

20 months agomath: remove unused matrix_is_general_scale
António Monteiro [Thu, 3 Nov 2022 11:19:44 +0000 (11:19 +0000)]
math: remove unused matrix_is_general_scale

Signed-off-by: António Monteiro <antonio.fmr.monteiro@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19428>

20 months agomath: remove unused matrix_has_rotation
António Monteiro [Thu, 3 Nov 2022 11:05:56 +0000 (11:05 +0000)]
math: remove unused matrix_has_rotation

Signed-off-by: António Monteiro <antonio.fmr.monteiro@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19428>

20 months agoutil: remove unused enter debug exit loggers
António Monteiro [Thu, 3 Nov 2022 10:57:36 +0000 (10:57 +0000)]
util: remove unused enter debug exit loggers

Signed-off-by: António Monteiro <antonio.fmr.monteiro@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19428>

20 months agoutil: remove fifo class
António Monteiro [Wed, 2 Nov 2022 00:14:00 +0000 (00:14 +0000)]
util: remove fifo class

Signed-off-by: António Monteiro <antonio.fmr.monteiro@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19428>

20 months agoutil: remove unused debug_dump_enum_noprefix
António Monteiro [Wed, 2 Nov 2022 00:06:33 +0000 (00:06 +0000)]
util: remove unused debug_dump_enum_noprefix

Signed-off-by: António Monteiro <antonio.fmr.monteiro@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19428>

20 months agoutil: remove unused debug_print_blob
António Monteiro [Wed, 2 Nov 2022 00:05:00 +0000 (00:05 +0000)]
util: remove unused debug_print_blob

Signed-off-by: António Monteiro <antonio.fmr.monteiro@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19428>

20 months agoutil: remove unused set_random_entry
António Monteiro [Tue, 1 Nov 2022 23:54:04 +0000 (23:54 +0000)]
util: remove unused set_random_entry

Signed-off-by: António Monteiro <antonio.fmr.monteiro@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19428>

20 months agoutil: remove unused half_to_unorm8
António Monteiro [Mon, 31 Oct 2022 22:39:31 +0000 (22:39 +0000)]
util: remove unused half_to_unorm8

Signed-off-by: António Monteiro <antonio.fmr.monteiro@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19428>

20 months agogallium/util: remove unused macros and their functions from sse class
António Monteiro [Mon, 31 Oct 2022 22:19:19 +0000 (22:19 +0000)]
gallium/util: remove unused macros and their functions from sse class

Signed-off-by: António Monteiro <antonio.fmr.monteiro@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19428>

20 months agogallium/util: drop unused sampler_view_default_dx9_template
António Monteiro [Mon, 31 Oct 2022 22:15:55 +0000 (22:15 +0000)]
gallium/util: drop unused sampler_view_default_dx9_template

Signed-off-by: António Monteiro <antonio.fmr.monteiro@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19428>

20 months agogallium/util: drop unused rect_area
António Monteiro [Mon, 31 Oct 2022 22:14:21 +0000 (22:14 +0000)]
gallium/util: drop unused rect_area

Signed-off-by: António Monteiro <antonio.fmr.monteiro@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19428>

20 months agogallium/util: Drop unused translate_prim_restart_ib
António Monteiro [Mon, 31 Oct 2022 22:10:57 +0000 (22:10 +0000)]
gallium/util: Drop unused translate_prim_restart_ib

Signed-off-by: António Monteiro <antonio.fmr.monteiro@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19428>

20 months agogallium/util: Remove linear class
António Monteiro [Mon, 31 Oct 2022 22:07:26 +0000 (22:07 +0000)]
gallium/util: Remove linear class

Signed-off-by: António Monteiro <antonio.fmr.monteiro@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19428>

20 months agogallium/util: Remove dirty surfaces class
António Monteiro [Mon, 31 Oct 2022 22:02:54 +0000 (22:02 +0000)]
gallium/util: Remove dirty surfaces class

Signed-off-by: António Monteiro <antonio.fmr.monteiro@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19428>

20 months agogallium/util: Remove dirty flags class
António Monteiro [Mon, 31 Oct 2022 22:00:47 +0000 (22:00 +0000)]
gallium/util: Remove dirty flags class

Signed-off-by: António Monteiro <antonio.fmr.monteiro@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19428>

20 months agomath: drop invert_matrix_perpective
António Monteiro [Thu, 3 Nov 2022 10:54:14 +0000 (10:54 +0000)]
math: drop invert_matrix_perpective

Signed-off-by: António Monteiro <antonio.fmr.monteiro@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19428>

20 months agoradv: invalidate L2 instead of only writeback L2 when using DCC stores
Samuel Pitoiset [Wed, 2 Nov 2022 10:27:13 +0000 (11:27 +0100)]
radv: invalidate L2 instead of only writeback L2 when using DCC stores

It seems INV_L2 is the right thing to do, especially for RDNA2 chips
with non-coherent RBs (NAVI22 is one of these). This fixes DCC
corruption.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6476
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7507
Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19516>

20 months agoradv: make the GDS/GDS OA buffer objects resident
Samuel Pitoiset [Wed, 2 Nov 2022 12:53:58 +0000 (13:53 +0100)]
radv: make the GDS/GDS OA buffer objects resident

GDS is used for NGG queries/streamout (GFX10+ only) and the BOs were
only added to the graphics queue because compute doesn't need them.
Though, the kernel emits a GDS switch when a queue submission doesn't
use GDS. That means that submitting jobs on the compute queue without
GDS can reset the state of the graphics queue and lead to GPU hangs.

The only viable solution for now is to make the GDS BOs resident to
avoid resetting the state between queues. This shouldn't introduce
more syncs between queues because GDS BOs are similar for both.

This fixes a GPU hang with Warhammer Chaosbane during loading time and
possibly some spurious random GPU hangs. Note that this GPU hang was
workarounded on the Steam side with RADV_DEBUG=nongg.

Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19466>

20 months agoutil: include gles header instead of hand crafted macros
Yonggang Luo [Thu, 3 Nov 2022 06:30:00 +0000 (14:30 +0800)]
util: include gles header instead of hand crafted macros

Now the glapi/glapi_dispatch.c are cleaned up because of this

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19509>

20 months agodocs/amber: fix link to docs on amber branch
Eric Engestrom [Fri, 4 Nov 2022 17:45:18 +0000 (17:45 +0000)]
docs/amber: fix link to docs on amber branch

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19533>

20 months agogallium/vl: return the buffer plane order for yuv444p format
Sathishkumar S [Tue, 1 Nov 2022 14:45:56 +0000 (20:15 +0530)]
gallium/vl: return the buffer plane order for yuv444p format

plane order is expected when trying to render yuv surfaces, update it for yuv444p

Signed-off-by: Sathishkumar S <sathishkumar.sundararaju@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19445>

20 months agoradeonsi/vcn: enable yuv formats supported on jpeg 2.5.0 and 2.6.0
Sathishkumar S [Mon, 31 Oct 2022 10:43:04 +0000 (16:13 +0530)]
radeonsi/vcn: enable yuv formats supported on jpeg 2.5.0 and 2.6.0

decode of yuv444 yuv400 and yuv422 is supported on JPEG ip version 2.5.0 and 2.6.0.

Signed-off-by: Sathishkumar S <sathishkumar.sundararaju@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19445>

20 months agoradeonsi/vcn: enable yuv422 jpeg decode
Sathishkumar S [Fri, 28 Oct 2022 14:45:54 +0000 (20:15 +0530)]
radeonsi/vcn: enable yuv422 jpeg decode

add yuv422 to supported decode format on asics that support it.

Signed-off-by: Sathishkumar S <sathishkumar.sundararaju@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19445>

20 months agodzn: Hook-up format-casting
Boris Brezillon [Fri, 1 Jul 2022 17:58:48 +0000 (19:58 +0200)]
dzn: Hook-up format-casting

This was only partially supported, with not way to cross D3D12
old compatibility boundary. With the RelaxedFormatCastingSupported
feature, we can cast any format to any other format with the same
block size, which maps pretty well to how Vulkan see things.

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17339>

20 months agodzn: Try to get a ID3D12Device10 object
Boris Brezillon [Fri, 1 Jul 2022 17:54:52 +0000 (19:54 +0200)]
dzn: Try to get a ID3D12Device10 object

Will be needed to support format casting.

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17339>

20 months agovulkan: Provide a vk_image_create_get_format_list() helper
Boris Brezillon [Fri, 1 Jul 2022 17:53:34 +0000 (19:53 +0200)]
vulkan: Provide a vk_image_create_get_format_list() helper

Some drivers need to know the full list of formats that can be used
when VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT or
VK_IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT is set (dozen needs
that at least). While VkImageFormatListCreateInfo is a nice way to
get the actual of formats the user intends to use at view creation time,
this paramter is optional, and when it's missing, we need to know the
full list of compatible formats if we want things to work properly.

Provide a helper that hides all the complexity and return a format list
even when VkImageFormatListCreateInfo is missing.

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17339>

20 months agovulkan: Automatically generate helpers to retrieve format information
Boris Brezillon [Fri, 1 Jul 2022 17:42:30 +0000 (19:42 +0200)]
vulkan: Automatically generate helpers to retrieve format information

In Vulkan, formats are classified in compatible groups, allowing
formats to be cast to other formats in the same group. Some drivers
might need to have access to the full compatible format list, so let's
auto-generate helpers to allow that.

Acked-by: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17339>

20 months agodzn: Query D3D12_FEATURE_DATA_D3D12_OPTIONS12
Boris Brezillon [Thu, 30 Jun 2022 14:15:51 +0000 (07:15 -0700)]
dzn: Query D3D12_FEATURE_DATA_D3D12_OPTIONS12

Needed to detect whether relaxed format casting is supported or not.

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17339>

20 months agodocs: use code-block
Erik Faye-Lund [Wed, 19 Oct 2022 10:59:09 +0000 (12:59 +0200)]
docs: use code-block

Reviewed-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19494>

20 months agodocs: eg -> e.g.
Erik Faye-Lund [Thu, 3 Nov 2022 11:18:13 +0000 (12:18 +0100)]
docs: eg -> e.g.

Reviewed-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19494>

20 months agodocs/gallium: glsl -> GLSL
Erik Faye-Lund [Thu, 3 Nov 2022 10:08:53 +0000 (11:08 +0100)]
docs/gallium: glsl -> GLSL

Reviewed-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19494>

20 months agodocs/gallium: fixup broken markup
Erik Faye-Lund [Thu, 3 Nov 2022 10:04:49 +0000 (11:04 +0100)]
docs/gallium: fixup broken markup

Reviewed-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19494>

20 months agodocs: remove spurious backtick
Erik Faye-Lund [Wed, 2 Nov 2022 20:08:27 +0000 (21:08 +0100)]
docs: remove spurious backtick

Reviewed-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19494>

20 months agodocs: fix a couple of links
Erik Faye-Lund [Thu, 3 Nov 2022 08:41:35 +0000 (09:41 +0100)]
docs: fix a couple of links

This was broken RST syntax, and lead to a couple of rogue cite-tags in
the rendered HTML.

Reviewed-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19494>

20 months agodocs: use inline-code instead of default role
Erik Faye-Lund [Wed, 2 Nov 2022 19:50:58 +0000 (20:50 +0100)]
docs: use inline-code instead of default role

A single backtick escaped string in Sphinx refers to the "default role"
which is vague, and in practice ends up producing the HTML cite-element.
That's almost certainly not what these uses wanted.

A bunch of these would probably be better served using appropriate roles
instead of inline-code markup, but this is almost certainly what was
meant here instead. Let's not let perfect be the enemy of good here, and
just do what was intended. Using the right roles everywhere is a big
task.

I usually don't do changes like these to the relnotes, but in this case
there were a *single* article that had these mistakes. I assume that was
an early bug in the script that generateg the relnotes. Let's patch it,
so we don't get misrendering if we change the default-role.

Reviewed-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19494>

20 months agodocs: consistently use single-quotes in config
Erik Faye-Lund [Wed, 2 Nov 2022 19:12:25 +0000 (20:12 +0100)]
docs: consistently use single-quotes in config

Reviewed-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19494>

20 months agoci: Uprev kernel to 6.0
Tomeu Vizoso [Wed, 12 Oct 2022 07:54:35 +0000 (09:54 +0200)]
ci: Uprev kernel to 6.0

And also enable some kconfigs needed by existing Qualcomm-based
Chromebooks and also a new model: kingoftown.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19069>

20 months agoVERSION: fix version as it will be a new year
Eric Engestrom [Fri, 4 Nov 2022 14:30:55 +0000 (14:30 +0000)]
VERSION: fix version as it will be a new year

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19529>

20 months agoRevert "ci: Collabora farm maintanance"
David Heidelberg [Fri, 4 Nov 2022 05:15:20 +0000 (06:15 +0100)]
Revert "ci: Collabora farm maintanance"

Farm is up again.

This reverts commit e0c577d5227fa6aaa061b3f388711fb24d6fc146.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19515>

20 months agoCI: convert to use the new S3 server instead of the legacy minio
Benjamin Tissoires [Thu, 13 Oct 2022 19:25:38 +0000 (21:25 +0200)]
CI: convert to use the new S3 server instead of the legacy minio

We don't need to login anymore, but we can't use plain minio commands
now. `ci-fairy` got a helper as `s3cp` to keep an almost identical
API.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19076>

20 months agoci: Update ci-fairy in CI, rootfs and containers
Guilherme Gallo [Thu, 20 Oct 2022 06:03:08 +0000 (03:03 -0300)]
ci: Update ci-fairy in CI, rootfs and containers

ci-fairy is pulverized in possible different versions at Mesa CI.
This commit updates all of them to the version that migrates minio to
s3.
Also, trigger the build of base and test containers, as both uses
ci-fairy as well

Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19076>

20 months agoci: Update piglit-traces tests expectations
Guilherme Gallo [Mon, 24 Oct 2022 18:29:09 +0000 (15:29 -0300)]
ci: Update piglit-traces tests expectations

Found some:
- crashes in zink, softpipe
- fails in a630-restricted
- unexpectedpass in broadcom
    - fixed by https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/730

More details in the test expectations files comments.

Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19076>

20 months agoci: Update piglit with s3 support
Guilherme Gallo [Mon, 31 Oct 2022 10:13:16 +0000 (11:13 +0100)]
ci: Update piglit with s3 support

With new S3 support, we can use JWT-only server interaction via the
removal of `role-session` and `minio-host` arguments from PIGLIT_ARGS in
YAML.
This parameter change will come in a later commit.

Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19076>

20 months agoci: re-enable scheduled pipelines for git cache
Benjamin Tissoires [Fri, 14 Oct 2022 07:50:40 +0000 (09:50 +0200)]
ci: re-enable scheduled pipelines for git cache

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19076>

20 months agozink/ci: add another subtest to the list of known failures for radv
Martin Roukala (né Peres) [Fri, 4 Nov 2022 07:02:06 +0000 (09:02 +0200)]
zink/ci: add another subtest to the list of known failures for radv

This test as a whole does not seem to work anywhere, even lavapipe, but
one particular subtest was passing until a recent change
(!19438 - zink: polygon mode fixes?).

After consideration by @kusma, it appears that the subtest was passing
by accident due to zink generating the wrong values. Given that this is
not something that users would ever experience as a regression, we
simply document this new failure along with all the others for this
test.

Fixes: 53721827ea1c ("zink: correct depth-bias enable condition")
Signed-off-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19517>

20 months agobroadcom/compiler: drop unused v3d_compile parameter for nir pass
Iago Toral Quiroga [Fri, 4 Nov 2022 08:51:33 +0000 (09:51 +0100)]
broadcom/compiler: drop unused v3d_compile parameter for nir pass

Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19519>

20 months agov3dv: use vk_alloc instead of malloc
Iago Toral Quiroga [Fri, 4 Nov 2022 08:17:08 +0000 (09:17 +0100)]
v3dv: use vk_alloc instead of malloc

Fixes: e6884df088 ('v3dv: fix event synchronization')
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19518>

20 months agov3dv: vkCmdWaitEvents2 takes an array of VkDependencyInfo
Iago Toral Quiroga [Fri, 4 Nov 2022 08:01:01 +0000 (09:01 +0100)]
v3dv: vkCmdWaitEvents2 takes an array of VkDependencyInfo

We have been incorrectly assuming there was just one for all the
events, apparently CTS never uses more than one event.

Fixes: e6884df088 ('v3dv: fix event synchronization')
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19518>

20 months agozink/ci: mark another test as fixed after the frontend caching series
Martin Roukala (né Peres) [Wed, 2 Nov 2022 13:41:46 +0000 (15:41 +0200)]
zink/ci: mark another test as fixed after the frontend caching series

Just like on Lavapipe, Emma Anholt's !19124 also fixed the
restore-sso-program test on RADV.

Fixes: 4e14da056d62 ("zink: Enable mesa/st frontend shader caching.")
Signed-off-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19468>

20 months agoci: uprev vkd3d-proton to v2.7
Samuel Pitoiset [Thu, 3 Nov 2022 10:19:59 +0000 (11:19 +0100)]
ci: uprev vkd3d-proton to v2.7

For up-to-date vkd3d-proton testsuite.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Acked-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org>
Acked-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19499>

20 months agoradv: fix setting MIN_LOD for texture descriptors on GFX11
Samuel Pitoiset [Thu, 3 Nov 2022 02:56:00 +0000 (02:56 +0000)]
radv: fix setting MIN_LOD for texture descriptors on GFX11

Found by inspection because the MIN_LOD bits were moved.

Cc: 22.3 mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19496>

20 months agoci: Collabora farm maintanance
David Heidelberg [Thu, 3 Nov 2022 19:28:37 +0000 (20:28 +0100)]
ci: Collabora farm maintanance

Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19511>

20 months agomicrosoft/spirv2dxil: Lower sample pos for fragment shaders
Jesse Natalie [Wed, 2 Nov 2022 16:37:40 +0000 (09:37 -0700)]
microsoft/spirv2dxil: Lower sample pos for fragment shaders

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19471>

20 months agod3d12: Move lower_sample_pos to microsoft/compiler
Jesse Natalie [Wed, 2 Nov 2022 16:37:20 +0000 (09:37 -0700)]
d3d12: Move lower_sample_pos to microsoft/compiler

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19471>

20 months agoac: fix IB parsing for Stoney
Marek Olšák [Fri, 21 Oct 2022 19:30:53 +0000 (15:30 -0400)]
ac: fix IB parsing for Stoney

We need to pass the family to register parsing functions.

Reviewed-by: Mihai Preda <mhpreda@gmail.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19419>

20 months agoac/gpu_info: simplify how has_accelerated_dot_product is set
Marek Olšák [Fri, 21 Oct 2022 19:08:15 +0000 (15:08 -0400)]
ac/gpu_info: simplify how has_accelerated_dot_product is set

Reviewed-by: Mihai Preda <mhpreda@gmail.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19419>

20 months agoamd/registers: regenerate gfx11 headers from amd-staging-drm-next
Marek Olšák [Fri, 21 Oct 2022 19:03:22 +0000 (15:03 -0400)]
amd/registers: regenerate gfx11 headers from amd-staging-drm-next

Reviewed-by: Mihai Preda <mhpreda@gmail.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19419>

20 months agoamd/registers: describe allowed register ranges better
Marek Olšák [Fri, 21 Oct 2022 19:00:03 +0000 (15:00 -0400)]
amd/registers: describe allowed register ranges better

Reviewed-by: Mihai Preda <mhpreda@gmail.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19419>

20 months agoamd/registers: fix parse_kernel_headers.py warnings by adding missing enums
Marek Olšák [Fri, 21 Oct 2022 18:01:31 +0000 (14:01 -0400)]
amd/registers: fix parse_kernel_headers.py warnings by adding missing enums

Reviewed-by: Mihai Preda <mhpreda@gmail.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19419>

20 months agoac/llvm: remove unnecessary gfx11 condition for nir_intrinsic_store_buffer_amd
Marek Olšák [Fri, 28 Oct 2022 21:14:55 +0000 (17:14 -0400)]
ac/llvm: remove unnecessary gfx11 condition for nir_intrinsic_store_buffer_amd

ac_build_buffer_store_dword is responsible for this.

Reviewed-by: Mihai Preda <mhpreda@gmail.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19419>

20 months agodzn: Set Agility SDK parameters and update test expectations
Jesse Natalie [Mon, 31 Oct 2022 17:49:00 +0000 (10:49 -0700)]
dzn: Set Agility SDK parameters and update test expectations

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19178>

20 months agod3d12: Set Agility SDK parameters and update test expectations
Jesse Natalie [Mon, 31 Oct 2022 17:48:50 +0000 (10:48 -0700)]
d3d12: Set Agility SDK parameters and update test expectations

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19178>

20 months agoci/windows: Bump test image tag
Jesse Natalie [Mon, 29 Aug 2022 03:02:39 +0000 (20:02 -0700)]
ci/windows: Bump test image tag

Reviewed-by: Giancarlo Devich <gdevich@microsoft.com>
Reviewed-by: Sil Vilerino <sivileri@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19178>

20 months agoci/windows: Enable developer mode for test container
Jesse Natalie [Sun, 28 Aug 2022 01:42:09 +0000 (18:42 -0700)]
ci/windows: Enable developer mode for test container

Reviewed-by: Giancarlo Devich <gdevich@microsoft.com>
Reviewed-by: Sil Vilerino <sivileri@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19178>

20 months agoci/windows: Get DXIL.dll (and DXCompiler.dll) from GitHub and put it in System32
Jesse Natalie [Sun, 28 Aug 2022 01:24:13 +0000 (18:24 -0700)]
ci/windows: Get DXIL.dll (and DXCompiler.dll) from GitHub and put it in System32

Reviewed-by: Giancarlo Devich <gdevich@microsoft.com>
Reviewed-by: Sil Vilerino <sivileri@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19178>

20 months agoci/windows: Download updated WARP and copy to piglit/vk-gl-cts
Jesse Natalie [Tue, 18 Oct 2022 17:11:08 +0000 (10:11 -0700)]
ci/windows: Download updated WARP and copy to piglit/vk-gl-cts

Reviewed-by: Giancarlo Devich <gdevich@microsoft.com>
Reviewed-by: Sil Vilerino <sivileri@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19178>

20 months agoci/windows: Download DirectX Agility SDK and copy to piglit/vk-gl-cts
Jesse Natalie [Sun, 28 Aug 2022 01:17:37 +0000 (18:17 -0700)]
ci/windows: Download DirectX Agility SDK and copy to piglit/vk-gl-cts

Reviewed-by: Giancarlo Devich <gdevich@microsoft.com>
Reviewed-by: Sil Vilerino <sivileri@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19178>

20 months agomicrosoft/compiler: Fix feature flag handling for 64-bit bitcasts
Jesse Natalie [Tue, 1 Nov 2022 22:29:53 +0000 (15:29 -0700)]
microsoft/compiler: Fix feature flag handling for 64-bit bitcasts

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19178>