Erik Faye-Lund
0df19e3c6b
docs: linux -> Linux
...
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6915 >
2020-09-30 08:18:21 +00:00
Erik Faye-Lund
557ee09c2e
docs: microsoft -> Microsoft
...
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6915 >
2020-09-30 08:18:21 +00:00
Erik Faye-Lund
d84420f513
docs: mingw -> MinGW
...
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6915 >
2020-09-30 08:18:21 +00:00
Erik Faye-Lund
a14d64757b
docs: ninja -> Ninja
...
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6915 >
2020-09-30 08:18:21 +00:00
Erik Faye-Lund
eb1e7e61e5
docs: chocolatey -> Chocolatey
...
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6915 >
2020-09-30 08:18:21 +00:00
Erik Faye-Lund
0732efbda9
docs: mako -> Mako
...
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6915 >
2020-09-30 08:18:20 +00:00
Erik Faye-Lund
fafd1f4425
docs: bison -> Bison
...
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6915 >
2020-09-30 08:18:20 +00:00
Erik Faye-Lund
1e75294e82
docs: flex -> Flex
...
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6915 >
2020-09-30 08:18:20 +00:00
Erik Faye-Lund
d95e2e48a9
docs: python3 -> Python 3
...
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6915 >
2020-09-30 08:18:20 +00:00
Erik Faye-Lund
e198fb64e1
docs: meson -> Meson
...
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6915 >
2020-09-30 08:18:20 +00:00
Erik Faye-Lund
0835ee9e8d
docs: correct reference to meson.build
...
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6915 >
2020-09-30 08:18:20 +00:00
Erik Faye-Lund
5ed6432eeb
docs: llvm -> LLVM
...
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6915 >
2020-09-30 08:18:20 +00:00
Erik Faye-Lund
a1904c96f3
docs: bpp -> BPP
...
While we're at it, make sure we always have a space between the number
and "BPP", for easier reading.
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6915 >
2020-09-30 08:18:20 +00:00
Erik Faye-Lund
647a828367
docs: webservice -> web service
...
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6915 >
2020-09-30 08:18:20 +00:00
Erik Faye-Lund
648cf63343
docs: existant -> existent
...
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6915 >
2020-09-30 08:18:20 +00:00
Erik Faye-Lund
766705d03b
docs: softwara -> software
...
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6915 >
2020-09-30 08:18:20 +00:00
Jason Ekstrand
92a594b154
spirv: Delete the legacy offset/index UBO/SSBO lowering
...
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5275 >
2020-09-30 07:20:39 +00:00
Jason Ekstrand
1cadbe5141
vallium: Stop using lower_ubo_ssbo_access_to_offsets
...
This legacy path needs to die. Drivers shouldn't be using it anymore.
While we're here, we also implement the resource_reindex intrinsic which
doesn't come up in most direct-access cases but can depending on how the
OpAccessChains are structured. It comes up all the time in the variable
pointers world.
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5275 >
2020-09-30 07:20:39 +00:00
Jason Ekstrand
657d49a9ba
spirv: Use derefs for push constants
...
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5275 >
2020-09-30 07:20:39 +00:00
Jason Ekstrand
d3fa7451a6
anv,radv,tu,val: Call nir_lower_io for push constants
...
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5275 >
2020-09-30 07:20:39 +00:00
Jason Ekstrand
ac7537f155
nir/lower_io: Add support for push constants
...
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5275 >
2020-09-30 07:20:38 +00:00
Jason Ekstrand
7a2b4ce22e
nir: Allow creating variables with nir_var_mem_push_const.
...
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5275 >
2020-09-30 07:20:38 +00:00
Dave Airlie
b0504ed682
llvmpipe: use an alternate env var to enable clover.
...
This can be used outside debug contexts.
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6928 >
2020-09-30 16:54:10 +10:00
Dave Airlie
760ba65733
gallivm/nir: handle non-32-bit mul high
...
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6928 >
2020-09-30 16:54:07 +10:00
Dave Airlie
5d4502c085
gallivm/nir: fix up non 32-bit load stores
...
This fixes a bunch of opencl tests.
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6928 >
2020-09-30 16:54:04 +10:00
Dave Airlie
2891136050
gallivm: fix 64-bit CL intrinsics.
...
This fixes a bunch of bad casts in piglit tests
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6928 >
2020-09-30 16:53:55 +10:00
Jonathan Marek
728061b968
turnip: signal fence and semaphore in AcquireNextImage2KHR
...
As a result of doing semaphores correctly, this is needed for things to
work correctly.
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6719 >
2020-09-30 00:32:40 +00:00
Jonathan Marek
e192f8f30a
turnip: share code between semaphores/fences + fence import/export
...
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6719 >
2020-09-30 00:32:40 +00:00
Jonathan Marek
0497c9cb6c
turnip: remove remaining uses of drmSyncobj helpers
...
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6719 >
2020-09-30 00:32:40 +00:00
Jonathan Marek
c4d5010c54
turnip: rework ImportSemaphoreFdKHR
...
The behavior of OPAQUE_FD should be unchanged.
SYNC_FD case is reworked to be more like what anv does: a new temporary
syncobj is always created, with the CREATE_SIGNALED flag if necessary.
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6719 >
2020-09-30 00:32:40 +00:00
Jonathan Marek
8343c32f5a
turnip: rework GetSemaphoreFdKHR
...
Fixes:
- permanent payload not being restored for the OPAQUE_FD case
- incorrectly resetting the permanent payload in SYNC_FD case
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6719 >
2020-09-30 00:32:40 +00:00
Jonathan Marek
fb76af24a2
turnip: semaphores simplification (only syncobj semaphores supported)
...
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6719 >
2020-09-30 00:32:40 +00:00
Jonathan Marek
1dfb5a93d2
turnip: set MSM_SUBMIT_SYNCOBJ_RESET for submit pWaitSemaphores
...
From VK spec:
"the act of waiting for a binary semaphore also unsignals that semaphore"
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6719 >
2020-09-30 00:32:40 +00:00
Jonathan Marek
2a3f6e0267
turnip: always create permanent syncobj for semaphore
...
This allows non-exported semaphores to behave correctly instead of being
ignored in QueueSubmit().
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6719 >
2020-09-30 00:32:40 +00:00
Jonathan Marek
dcc278c722
turnip: clean up tu_device_memory
...
Delete unused code.
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6913 >
2020-09-29 23:24:32 +00:00
Dave Airlie
d12cdc9374
gallivm: fix pow(0, y) to be 0
...
The log2(0) was producing bad results.
Fixes:
piglit pow tests on llvmpipe.
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6907 >
2020-09-29 21:51:22 +00:00
Gert Wollny
89a1a3e9d6
r600/sfn: extend life range of all variables by one
...
This is a strange fix for some gles 3.1 tests with atomics. Maybed
the register holding the atomic add value can't be re-used in the
first instruction after an GDS instruction.
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6925 >
2020-09-29 21:30:42 +00:00
Gert Wollny
02245e38fc
r600/sfn: Add support for more barrier instructions
...
These barriers should probably be global, but currently we only issue
a shared barrir (i.e. for only one wave front).
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6925 >
2020-09-29 21:30:42 +00:00
Gert Wollny
48edb98a7e
r600/sfn: Fix IDX register ID
...
Fixes: 9a6b11a733
r600/sfn: Fix indirect const buffer access
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6925 >
2020-09-29 21:30:42 +00:00
Gert Wollny
7683e27561
r600/sfn: Fix enabling the right interpolator for inerpolate_at_sample
...
Fixes: 73c5f45191
r600/sfn: Fix interpolate at sample
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6925 >
2020-09-29 21:30:42 +00:00
Rob Clark
16a3a56321
freedreno: Don't leak LRZ bo's
...
Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6900 >
2020-09-29 20:56:54 +00:00
Rob Clark
7454ae4ea6
freedreno/registers: Add a couple things used on kernel side
...
Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6900 >
2020-09-29 20:56:54 +00:00
Rob Clark
27c8d97657
freedreno/drm: Also clean ring_cache
...
We also need to release all the entries from the ring_cache when tearing
down the dev.
Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6900 >
2020-09-29 20:56:54 +00:00
Rob Clark
98093e2780
freedreno/a6xx: Small cleanup
...
Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6900 >
2020-09-29 20:56:54 +00:00
Rob Clark
5be3cfdc13
freedreno: Don't leak border_color_buf reference
...
Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6900 >
2020-09-29 20:56:54 +00:00
Rob Clark
69a3ef6511
freedreno/drm: drop bo's dev reference
...
This is a bit over-paranoid, and can cause drm device fd leaks if there
is a bo leak somewhere. Which is kind of a worse outcome.
This "fixes" a fd leak seen in:
dEQP-EGL.functional.query_context.get_current_display.*
dEQP-EGL.functional.query_context.get_current_context.*
dEQP-EGL.functional.query_context.get_current_display.*
(Still tracking down the root leak)
Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6900 >
2020-09-29 20:56:54 +00:00
Mike Blumenkrantz
6a20c630b9
zink: unify all occurrences of waiting on a fence
...
this was duplicated in a few places
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6922 >
2020-09-29 20:49:15 +00:00
Mike Blumenkrantz
e31381ac26
zink: combine all surface layout-setting for src/dst into util function
...
we do a lot of src/dst layout-setting, so ensure that we use the same code
everywhere to avoid cases where src==dst and we aren't setting GENERAL
layout as we should
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6922 >
2020-09-29 20:49:15 +00:00
Bas Nieuwenhuizen
24f19f409d
radv: Write correct dispatch size for RGP.
...
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6875 >
2020-09-29 20:14:40 +00:00
Rob Clark
1b39d74c68
ci: Enable remaining (non-rotate) mustpass CTS tests
...
The gles3 and gles31 multisample and 565-no-depth-no-stencil caselists
are also mustpass. And they don't add a significant number of extra
test cases.
The remaining mustpass caselists all involve rotation, which is not
currently supported in the surfaceless deqp build.
Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6553 >
2020-09-29 19:58:50 +00:00