Gert Wollny
99b7a12ec1
r600/sfn: Always start a new CF after a KILL instruction
...
Docu says:
Ensure that the KILL* instruction is the last instruction
in an ALU clause, because the remaining instructions executed
in the clause do not reflect the updated valid state after
the kill operation.
Fixes: 79ca456b48
r600/sfn: rewrite NIR backend
Signed-off-by: Gert Wollny <gert.wollny@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18983 >
2022-10-07 11:33:57 +02:00
Gert Wollny
82b22e7fb9
r600/sfn: Only run 64 bit ops lowering passes when really needed
...
If the shader doesn't do 64 bit then there is no need to run these
lowering passes.
Signed-off-by: Gert Wollny <gert.wollny@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18983 >
2022-10-07 11:33:57 +02:00
Lucas Stach
ed3caf4866
etnaviv: pass shader key by reference
...
The shader key has grown substancially since the introduction of the
shadow sampler lowering to the point where passing it by value when
looking for the right variant matching the current state is showing
up in the CPU profiles. Pass the key by reference to get rid of this
overhead.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de >
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18968 >
2022-10-07 08:36:31 +00:00
Lucas Stach
a1af7ae96a
etnaviv: slim down etna_shader_key
...
The max number of exposed fragment samplers and views on any hardware is 16,
so there is no point in having arrays of 128 entries to track information
for the shadow sampler lowering in the shader key. Most of them will never
be used. Reduce the size of the arrays to what is actually necessary and add
a assert to make sure the sampler (view) limit isn't bumped without a
matching change in the shader key.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de >
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18968 >
2022-10-07 08:36:31 +00:00
Lionel Landwerlin
1964899c28
intel: add INTEL_DEBUG=capture-all to capture everything upon hang
...
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewd-by: Jordan Justen <jordan.l.justen@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18977 >
2022-10-07 07:45:22 +00:00
Jason Ekstrand
650880105e
vulkan,lavapipe: Use a tri-state enum for depth clip enable
...
This should make it a lot more clear how depth clip enables work.
Annoyingly, because of the way they originally worked in Vulkan 1.0,
it's dependent on the depth clamp if the state isn't set in the pipeline
and isn't declared dynamic. The enum is explicitly set up so that
drivers don't need to be aware of this change unless they already
implement VK_EXT_extended_dynamic_state3. If depth clamp/clamp are not
dynamic, depth clip will be either TRUE or FALSE which map to 1/0 so the
field can still be treated as a boolean.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Reviewed-by: Roland Scheidegger <sroland@vmware.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18889 >
2022-10-07 06:22:32 +00:00
Pavel Ondračka
0d3bc8c5b9
r300: be more careful when pair merging with presubtract
...
and when some argument reads both from rgb and apha. We would fail to
properly rewrite the sources in such case.
Consider the following instructions:
2: src0.xyz = const[3], src1.xyz = temp[6], srcp.xyz = (src1 - src0)
CMP temp[8].x, src0.0__, src0.1__, srcp.x__
...
5: src0.xyz = const[1], src0.w = const[1]
MAX temp[10].xy, |src0.xz_|, |src0.yw_|
We can merge them together into pair like
2: src0.xyz = const[3], src1.xyz = temp[6], src2.xyz = const[1], src2.w = const[1], srcp.xyz = (src1 - src0)
MAX temp[10].xy, |src2.xz_|, |src2.yw_|
CMP temp[8].w, src0.0, src0.1, srcp.x
However the current code fails to do so properly and we end with this:
2: src0.xyz = const[3], src0.w = const[1], src1.xyz = temp[6], src2.xyz = const[1], srcp.xyz = (src1 - src0)
MAX temp[10].xy, |src2.xz_|, |src2.yw_|
CMP temp[8].w, src0.0, src0.1, srcp.x
where the src2.w is undefined.
Just check for the the case where the arguments reads both from rgb and
alpha and bail out from the merge.
Fixes the following dEQPs:
dEQP-GLES2.functional.uniform_api.random.47
dEQP-GLES2.functional.uniform_api.value.initial.render.array_in_struct.float_vec4_both
dEQP-GLES2.functional.uniform_api.value.initial.render.basic_array.vec4_both
Only a minor change in shader-db with RV530:
total instructions in shared programs: 180847 -> 180864 (<.01%)
instructions in affected programs: 3178 -> 3195 (0.53%)
helped: 2
HURT: 16
Signed-off-by: Pavel Ondračka <pavel.ondracka@gmail.com >
Reviewed-by: Filip Gawin <filip@gawin.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18991 >
2022-10-07 05:40:00 +00:00
Daniel Stone
bd74a6fc18
CI: Collabora farm down for maintenance
...
We have major maintenance planned tomorrow, so let's just disable LAVA
until it comes back.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18987 >
2022-10-07 03:36:39 +00:00
Christian Gmeiner
1ebd3fb3ad
ci/etnaviv: add GC7000 support
...
Will be used in combination with Nitrogen8M boards.
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com >
Acked-by: David Heidelberg <david.heidelberg@collabora.com >
Reviewed-by: Emma Anholt <emma@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13691 >
2022-10-06 07:30:34 +02:00
Christian Gmeiner
37cddadf29
ci/bare-metal: introduce BM_MKBOOT_PARAMS
...
Make it possible to provide per device mkimage.py params.
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com >
Reviewed-by: David Heidelberg <david.heidelberg@collabora.com >
Reviewed-by: Emma Anholt <emma@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13691 >
2022-10-06 07:30:34 +02:00
Christian Gmeiner
13c6d7e97d
ci: switch to mkbootimg.py
...
On ARM64 appending the dtb does not work with U-Boot and fastbooting
with such an image failes like:
## Booting Android Image at 0x40480000 ...
Kernel load addr 0x00000000 size 30514 KiB
Kernel command line: ip=dhcp console=ttymxc0,115200n8 root=/dev/nfs rw nfsrootdebug init=/init nfsroot=10.10.10.17:/mnt/disks/testing-nfs-root/gc7000-00,vers=3,tcp
RAM disk load addr 0x00000000 size 1 KiB
Error: header_version must be >= 2 to get dtb
Loading Kernel Image
"Error" handler, esr 0xbf000002
elr: 000000004029ce70 lr : 000000004029cf0c (reloc)
elr: 00000000be59ae70 lr : 00000000be59af0c
x0 : 0000000000100000 x1 : 0000000040580800
x2 : 0000000000010000 x3 : 00000000000020c0
x4 : f9402063f9400463 x5 : 0000000000000000
x6 : 0000000000100000 x7 : 0000000006000000
x8 : 00000000b64f1488 x9 : 0000000000000008
x10: 00000000b651c450 x11: 00000000b653df68
x12: 0000000000000000 x13: 0000000000000200
x14: 0000000000000000 x15: 0000000000000020
x16: 00000000be55acc8 x17: 0000000000004530
x18: 00000000b64fddc0 x19: 0000000000100000
x20: 0000000040580800 x21: 0000000001ccc4af
x22: 0000000000010000 x23: 0000000000010000
x24: 0000000040480800 x25: 00000000b64f15c8
x26: 0000000000000000 x27: 0000000000000000
x28: 0000000040480800 x29: 00000000b64f1470
Code: d65f03c0 f8636824 f8236804 91002063 (cb030044)
Resetting CPU ...
resetting ...
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com >
Acked-by: David Heidelberg <david.heidelberg@collabora.com >
Reviewed-by: Emma Anholt <emma@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13691 >
2022-10-06 07:30:34 +02:00
Christian Gmeiner
1cba34d8d5
ci: include etnaviv support in ARM64 container
...
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com >
Reviewed-by: David Heidelberg <david.heidelberg@collabora.com >
Reviewed-by: Emma Anholt <emma@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13691 >
2022-10-06 07:30:32 +02:00
Timur Kristóf
df3fdbdeb5
aco: Fix build error with std::max on GCC 12
...
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com >
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18969 >
2022-10-05 20:22:04 +00:00
Timur Kristóf
3ca8402ec7
ac/nir/ngg: Fix cross-invocation indices and cull outputs.
...
The layout calculation accidentally thought these would be
stored in variables, but that's not the case.
Fixes: 697ea02202
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com >
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18846 >
2022-10-05 19:47:25 +00:00
Brian Paul
458fc9ce81
cso: asst. clean-ups in cso_context.[ch]
...
Signed-off-by: Brian Paul <brianp@vmware.com >
Reviewed-by: Roland Scheidegger <sroland@vmware.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18954 >
2022-10-05 19:03:27 +00:00
Brian Paul
faf8398893
cso: asst. clean-ups in cso_cache.[ch]
...
Signed-off-by: Brian Paul <brianp@vmware.com >
Reviewed-by: Roland Scheidegger <sroland@vmware.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18954 >
2022-10-05 19:03:27 +00:00
Brian Paul
eaa93d7177
cso: use util_bitcount
...
Signed-off-by: Brian Paul <brianp@vmware.com >
Reviewed-by: Roland Scheidegger <sroland@vmware.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18954 >
2022-10-05 19:03:27 +00:00
Brian Paul
983e06af2b
cso: asst. clean-ups in cso_hash.[ch]
...
Consistent whitespace, move var decls to first use, add some const
qualifiers, etc.
Signed-off-by: Brian Paul <brianp@vmware.com >
Reviewed-by: Roland Scheidegger <sroland@vmware.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18954 >
2022-10-05 19:03:27 +00:00
Iván Briano
406a1854d0
vulkan_hasvk: set READ/WRITE_WITHOUT_FORMAT for buffer views
...
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18958 >
2022-10-05 09:45:57 -07:00
Iván Briano
b75fbfdd46
anv: set READ/WRITE_WITHOUT_FORMAT for buffer views
...
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18958 >
2022-10-05 09:45:50 -07:00
Alyssa Rosenzweig
847361ba07
panfrost: Remove load_kernel_input path
...
Now the state tracker's responsible to lower away for us (and the state tracker
can do it correctly, our implementation is incorrect with a strict reading of
the Gallium contract).
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18658 >
2022-10-05 16:09:21 +00:00
Alyssa Rosenzweig
deb3810f1e
agx: Remove load_kernel_input path
...
Unused and now won't be used.
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18658 >
2022-10-05 16:09:21 +00:00
Brian Paul
6dcad8a13b
lavapipe: zero-init sampler objects
...
The cso code hashes these as a block of bytes. This silences some
Valgrind uninitialized memory warnings and possibly avoids creating
some redundant sampler instances.
Signed-off-by: Brian Paul <brianp@vmware.com >
Reviewed-by: Roland Scheidegger <sroland@vmware.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18953 >
2022-10-05 14:55:57 +00:00
Brian Paul
2aac8ef125
lavapipe: remove continue statements in emit_state() to be more consistent
...
Rejig some dirty state checks to avoid continue and make it consistent
with surrounding code.
Signed-off-by: Brian Paul <brianp@vmware.com >
Reviewed-by: Roland Scheidegger <sroland@vmware.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18953 >
2022-10-05 14:55:57 +00:00
Emma Anholt
77515d722b
zink: Map ETC1 to ETC2 to avoid uncompressing in the frontend.
...
Maybe the frontend should map for us in this case, but it's easy enough
here: ETC2 is an extension to use undefined states from ETC1, and is
backwards compatible.
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18957 >
2022-10-05 14:35:11 +00:00
Emma Anholt
061914ad83
zink: Enable ASTC texture format translation.
...
Without this, the frontend would decompress them for us without even the
kindness of a perf debug warning.
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18957 >
2022-10-05 14:35:11 +00:00
SoroushIMG
44894ba8b1
zink: enable native ETC2 if vk driver supports it
...
There is a 1-to-1 mapping from pipe to vk formats for ETC2.
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18957 >
2022-10-05 14:35:11 +00:00
Emma Anholt
270ea2ac7e
zink: Skip border color clamping for compressed formats.
...
You won't have a non-void channel for block formats, because "how many
bits are there in the red channel" doesn't even make sense.
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18957 >
2022-10-05 14:35:11 +00:00
Emma Anholt
da04bbe586
ci/zink: Clear stale xfails for turnip.
...
The linked MR landed and fixed them.
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18957 >
2022-10-05 14:35:11 +00:00
Alejandro Tafalla
afe4b534b5
freedreno: Fix graphic glitches on a4xx and a5xx
...
Like on adreno 3xx, hw binning and scissor optimizations don't work correctly
together on a4xx and a5xx GPUs.
Disable binning as a workaround if scissor optimizations are being used.
Fixes: f68c6951b8 8efaae3e19
Signed-off-by: Alejandro Tafalla <atafalla@dnyon.com >
Reviewed-by: Rob Clark <robdclark@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18925 >
2022-10-05 13:04:07 +00:00
Lionel Landwerlin
1d32bcdcb2
iris: better error message with GuC loading failures
...
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: José Roberto de Souza <jose.souza@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18952 >
2022-10-05 12:37:48 +00:00
Jeremy Rand
537176181e
llvmpipe: bump LP_MAX_THREADS to 32
...
On my ppc64le machine with 32 hardware threads, this speeds up OpenArena
(1920x1200) from 7.2 fps to 8.1 fps.
Reviewed-by: Emma Anholt <emma@anholt.net >
Reviewed-by: Roland Scheidegger <sroland@vmware.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18415 >
2022-10-04 22:59:12 +00:00
Yiwei Zhang
0a06db8fb9
ci/venus: enable render server for venus testing
...
Render server config will soon become a mandatory requirement for venus.
v2: updated DEBIAN_BASE_TAG and KERNEL_ROOTFS_TAG
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org >
Reveiwed-by: Ryan Neph <ryanneph@google.com > (v1)
Reveiwed-by: Dmitry Osipenko <dmitry.osipenko@collabora.com > (v1)
Reviewed-by: Corentin Noël <corentin.noel@collabora.com > (v2)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18918 >
2022-10-04 21:41:48 +00:00
Emma Anholt
dadb29cf2e
turnip: Don't use the dynamic color write enable during non-dynamic.
...
We have the correct merged color write enable state as a local var here,
use that instead of the zero cmd->state.color_write_enable. Fixes
blending in many traces with ANGLE on turnip. In the process of fixing,
clarify the logic a little bit.
Fixes: 169e03800d ("tu: Implement VK_EXT_color_write_enable")
Fixes : #7328
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18956 >
2022-10-04 20:50:51 +00:00
Dave Airlie
6f27bf2504
gallivm: remove legacy pointer_get apis
...
These are no longer used.
Reviewed-by: Mihai Preda <mhpreda@gmail.com >
Reviewed-by: Roland Scheidegger <sroland@vmware.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18947 >
2022-10-05 06:20:42 +10:00
Dave Airlie
0c86524590
gallivm/sample: use retrieved types to do opaque pointer loads.
...
This uses the types to do the loads using opaque ptr interfaces.
Reviewed-by: Mihai Preda <mhpreda@gmail.com >
Reviewed-by: Roland Scheidegger <sroland@vmware.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18947 >
2022-10-05 06:20:37 +10:00
Dave Airlie
1a9889ae12
draw/llvmpipe: add way to return pointer types to generic code.
...
Some of the generic code tries to load from things it has no
types for, mip offsets, row and image strides.
Fix the interfaces to allow returning types for these.
Reviewed-by: Mihai Preda <mhpreda@gmail.com >
Reviewed-by: Roland Scheidegger <sroland@vmware.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18947 >
2022-10-05 06:20:20 +10:00
Dave Airlie
02c675b196
draw/llvmpipe: move texture/sampler/image member load to opaque.
...
This removes the non-opaque paths from the draw/lp sampling code.
Reviewed-by: Mihai Preda <mhpreda@gmail.com >
Reviewed-by: Roland Scheidegger <sroland@vmware.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18947 >
2022-10-05 06:20:14 +10:00
Dave Airlie
9fe8e5ccf7
gallivm/llvmpipe: add opaque pointers support to sampler
...
This adds explicit context types wiring through the sampler code
Reviewed-by: Mihai Preda <mhpreda@gmail.com >
Reviewed-by: Roland Scheidegger <sroland@vmware.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18947 >
2022-10-05 06:20:11 +10:00
Dave Airlie
3d242c0447
llvmpipe/tests: port to new pointer interfaces.
...
Reviewed-by: Mihai Preda <mhpreda@gmail.com >
Reviewed-by: Roland Scheidegger <sroland@vmware.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18947 >
2022-10-05 06:19:50 +10:00
José Roberto de Souza
0066e60fc4
anv: Split the debug part of anv_queue_exec_locked()
...
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Signed-off-by: José Roberto de Souza <jose.souza@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18942 >
2022-10-04 18:35:50 +00:00
José Roberto de Souza
bc384e24f0
anv: Use Vulkan types for priority as much as possible
...
Continuing the work to split i915_drm.h specific code.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Signed-off-by: José Roberto de Souza <jose.souza@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18942 >
2022-10-04 18:35:50 +00:00
José Roberto de Souza
f5a58b8886
anv: Split i915 specific parts of anv_queue_submit_simple_batch()
...
This will make easier to spot more places where the code can
simplified after the hasvk split.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Signed-off-by: José Roberto de Souza <jose.souza@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18942 >
2022-10-04 18:35:50 +00:00
José Roberto de Souza
35ed40f356
anv: Move fetch of i915 physical device parameters
...
Move everything that depends on i915_drm.h to its own function,
in a future MR will move the parameters that are also needed by
Iris to intel_device_info.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Signed-off-by: José Roberto de Souza <jose.souza@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18942 >
2022-10-04 18:35:50 +00:00
José Roberto de Souza
a17783b066
intel/dev: Split i915 specific parts of intel_get_device_info_from_fd()
...
Continuing the work to split i915_drm.h specific code.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Signed-off-by: José Roberto de Souza <jose.souza@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18942 >
2022-10-04 18:35:50 +00:00
José Roberto de Souza
03b959286e
intel: Make engine related functions and types not i915 dependent
...
There is too much i915_drm.h code spread, this patch start to fix that
by re-organizing engine related code.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Signed-off-by: José Roberto de Souza <jose.souza@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18942 >
2022-10-04 18:35:50 +00:00
Yiwei Zhang
24bc3b7644
docs: move VK_EXT_extended_dynamic_state3 out from 1.3
...
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org >
Reviewed-by: Ryan Neph <ryanneph@google.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18941 >
2022-10-04 18:08:11 +00:00
Connor Abbott
68f3c38c80
tu: Implement extendedDynamicState2PatchControlPoints
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18773 >
2022-10-04 15:39:43 +00:00
Connor Abbott
1bd3d28050
tu: DS primitive stride does not use patch control points
...
Previously we would use patch control points if there was no GS, but
it wasn't immediately obvious that this driver param is unused if there
is no GS. Make it output 0 instead, making it clear that we can emit it
even if we don't know the patch control points. This change in the
cmdstream is split out from the next commit.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18773 >
2022-10-04 15:39:43 +00:00
Connor Abbott
042c135a99
tu: Fix param_stride placement
...
Even though it's tessellation-related, it's set based on the
tessellation variant which is only known after linking. The param stride
may change due to LTO if fast linking is not used.
Fixes: e9f5de11d4 ("tu: Initial implementation of VK_EXT_graphics_pipeline_library")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18773 >
2022-10-04 15:39:43 +00:00