Kenneth Graunke
7ce66e2b61
brw: Add a new MEMORY_MODE_CONSTANT option
...
This will translate to HDC Constant Cache loads or LSC UGM loads.
On LSC, MEMORY_MODE_UNTYPED would be fine, but for HDC we need to
distinguish between the regular and constant cache data ports.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32888 >
2025-01-10 22:44:09 +00:00
Kenneth Graunke
cfbb5ebcdd
brw: Skip unread leading/trailing components in convergent block loads
...
The NIR vectorizer may produce block loads with unread trailing
components. Upcoming passes may produce unread leading components
as well. With a bit of finesse, we can skip loading those, and only
bother with the ones we actually need. This can sometimes save us on
loads and MOVs.
v2: Skip this for SLM reads on pre-LSC platforms (caught by Lionel).
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32888 >
2025-01-10 22:44:09 +00:00
Kenneth Graunke
4f0c852a4e
brw: Skip unnecessary work for trivial emit_uniformize of IMMs
...
If we pass an immediate, just trivially return that immediate.
This preserves the property that if x was an IMM, emit_uniformize(x)
will also be an IMM, without the need for optimizations to eliminate
unnecessary operations. That way, you can call emit_uniformize() on
a value and still check whether it's constant afterwards.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32888 >
2025-01-10 22:44:09 +00:00
Kenneth Graunke
a0b1e07976
brw: Make get_nir_src_imm() usable for non-32-bit-sizes.
...
We return an immediate for 32-bit constant values, but fall back to
calling get_nir_src() for other values, as 64-bit, and even 8-bit
immediates have odd restrictions. We could probably support 16-bit
here without too many issues, but we leave it be for now.
This makes it usable for case where we'd like to get constants for
32-bit values but where it may be a different bit-size too.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32888 >
2025-01-10 22:44:09 +00:00
Kenneth Graunke
03f948f5fd
brw: Skip fetching unread leading components of UBO loads
...
We were already skipping unread trailing components, but now we skip
them on both ends.
About -3.5% spills on Shadow of the Tomb Raider on Alchemist (mostly a
wash elsewhere, but it will help additional shaders with later patches).
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32888 >
2025-01-10 22:44:09 +00:00
Kenneth Graunke
c8b2ab041e
brw: Add more safeguards against misaligned OWord Block messages
...
HDC doesn't support block loads/stores with sub-DWord (<4B) aligned
offsets, and shared local memory has to use the Aligned OWord Block
messages which require OWord (16B) alignment.
Make the validator detect this case and say no. Also make the lowering
code assert that the alignment is valid as a second line of defense.
LSC has no such restrictions.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32888 >
2025-01-10 22:44:09 +00:00
Kenneth Graunke
2f334e8baf
nir: Add a nir_def_first_component_read() helper
...
Similar to nir_def_last_component_read(). Just a little nicer than
prodding at the bitmask of components read directly.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32888 >
2025-01-10 22:44:09 +00:00
Hyunjun Ko
638fc5e472
anv: change bool to VkResult
...
Fixes: 41caf3665c
("anv/image: allocate some memory for mv storage after video images.")
Signed-off-by: Hyunjun Ko <zzoon@igalia.com >
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32775 >
2025-01-10 21:45:04 +00:00
Hyunjun Ko
ec60462a65
anv: fix to set default cdf buf correctly.
...
v1. Store cdf index values to the state of the commnad buffer.
(Lionel Landwerlin <lionel.g.landwerlin@intel.com >)
Fixes: dEQP-VK.video.decode.av1.sizeup_8_separated_dpb
Signed-off-by: Hyunjun Ko <zzoon@igalia.com >
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32775 >
2025-01-10 21:45:04 +00:00
Hyunjun Ko
e510efed05
anv: support in-loop super resolution for AV1 decoding
...
Signed-off-by: Hyunjun Ko <zzoon@igalia.com >
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32775 >
2025-01-10 21:45:04 +00:00
Hyunjun Ko
788263501d
anv: calculate global parmeters correctly for AV1 decoding
...
Signed-off-by: Hyunjun Ko <zzoon@igalia.com >
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32775 >
2025-01-10 21:45:04 +00:00
Dave Airlie
8432b8b282
anv: add initial support for AV1 decoding
...
Co-authored-by: Hyunjun Ko <zzoon@igalia.com >
- Allow intrabc
- Fix to manage refrenece frames using referenceNameSlotIndices
- Fix to set bitmask of motion field projection correctly
- Set destination buffer offset to the BSD_OBJECT
- Support 10-bit decoding.
- Fix small bugs.
- Change to C-style comment.
Signed-off-by: Hyunjun Ko <zzoon@igalia.com >
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32775 >
2025-01-10 21:45:04 +00:00
Hyunjun Ko
0fd0a51df6
anv/video: Fix to return supported video format correctly.
...
Since 8-bit decoding is not default, we need to check the flag too.
Fixes: a64ae20d0
("anv: support HEVC 10-bit decoding" )
Signed-off-by: Hyunjun Ko <zzoon@igalia.com >
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32775 >
2025-01-10 21:45:04 +00:00
Hyunjun Ko
3f3d6c04a3
intel/genxml: define MEMORYADDRESSATTRIBUTES for Gen12.5 with TILEF
...
Signed-off-by: Hyunjun Ko <zzoon@igalia.com >
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32775 >
2025-01-10 21:45:04 +00:00
Dave Airlie
68477ae7c0
genxml: add av1 fields
...
Co-authored-by: Hyunjun Ko <zzoon@igalia.com >
- Remove HuC pipeline params of VD_PIPELINE_FLUSH
- Fix length of AVP_PIPE_MODE_SELECT, AVP_PIC_STATE, AVP_PIPE_BUF_ADDR_STATE
Signed-off-by: Hyunjun Ko <zzoon@igalia.com >
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32775 >
2025-01-10 21:45:04 +00:00
Dave Airlie
6a28e7a6c7
anv: add default av1 tables from media-driver
...
Co-authored-by: Hyunjun Ko <zzoon@igalia.com >
- Change to C-style comment.
Signed-off-by: Hyunjun Ko <zzoon@igalia.com >
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32775 >
2025-01-10 21:45:04 +00:00
Brian Paul
b13e2a495e
svga: add svga_resource_create_with_modifiers() function
...
The dri_create_image() function returns early if the gallium
driver does not implement this function. Surface creation has
been broken for some time up to this fix.
Signed-off-by: Brian Paul <brian.paul@broadcom.com >
Reviewed-by: Neha Bhende <neha.Bhende@broadcom.com >
Reviewed-by: Neha Bhende <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32976 >
2025-01-10 21:15:12 +00:00
Caio Oliveira
7fadd864dd
intel/elk: Fix typo in assertion
...
Just assert that the array will fit whatever the MAX is for a given
Gfx version.
Fixes: 172c1ab984
("intel/elk: Add ELK_MAX_MRF_ALL for static allocating arrays")
Reviewed-by: José Roberto de Souza <jose.souza@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32978 >
2025-01-10 20:16:59 +00:00
Mike Blumenkrantz
010732b8ef
glsl: enable OVR_multiview if OVR_multiview2 is enabled
...
according to spec
Fixes: 328c29d600
("mesa,glsl,gallium: add GL_OVR_multiview")
Reviewed-by: Adam Jackson <ajax@redhat.com >
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32946 >
2025-01-10 19:10:48 +00:00
Mike Blumenkrantz
3c5eae639d
glsl: make gl_ViewID_OVR visible to all shader stages
...
according to spec
Fixes: 328c29d600
("mesa,glsl,gallium: add GL_OVR_multiview")
Reviewed-by: Adam Jackson <ajax@redhat.com >
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32946 >
2025-01-10 19:10:48 +00:00
Mary Guillemard
bacc5f4579
pan/genxml: Switch __gen_unpack to macros
...
This switch all __gen_unpack functions to macros to keep address space
information when working with OpenCL C.
Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com >
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32962 >
2025-01-10 18:27:27 +00:00
Mary Guillemard
3f3bb741fb
pan/genxml: Switch [un]pack codegen to macros
...
Because of OpenCL C, we need a way to retain address space information
contains with the pointers.
As a result this switch all [un]pack functions to macros, resulting in
pointers retaining their respective address space information.
Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com >
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32962 >
2025-01-10 18:27:27 +00:00
Mary Guillemard
e15940008f
pan/genxml: Switch pan_section_ptr to cast to packed type
...
Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com >
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32962 >
2025-01-10 18:27:27 +00:00
Mary Guillemard
3b69edf825
pan/genxml: Enforce explicit packed types on pan_[un]pack
...
Provide a pan_cast_and_[un]pack() to help with the transition.
Those helpers should only be used when the caller is sure the
destination is big enough to emit the descriptor.
Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com >
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32962 >
2025-01-10 18:27:27 +00:00
Mary Guillemard
bd80037441
pan/genxml: Move [un]pack internals to use packed structs
...
We are now strongly typing everything, pan_[un]pack wil enforce this at
the API level next.
Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com >
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32962 >
2025-01-10 18:27:27 +00:00
Boris Brezillon
b9caca64f2
pan/genxml: Generate MALI_XXX_PACKED_T macros
...
Will be useful to easily define packed type variables from the
pan_[un]pack() functions, which we'll need during the pan_pack
revamp.
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com >
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32962 >
2025-01-10 18:27:27 +00:00
Mary Guillemard
39d8b56c4a
pan/genxml: Emit struct details before pack function
...
We are going to use packed structs in [un]pack next so we need those to
be emitted before them.
Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com >
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32962 >
2025-01-10 18:27:27 +00:00
Mary Guillemard
95435a788d
pan/genxml: Switch unpack to use uint32_t
...
Makes this match pack.
Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com >
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32962 >
2025-01-10 18:27:27 +00:00
Boris Brezillon
ab1cd917ad
pan/genxml: Include pan_pack_helpers.h instead of copying it
...
The generic bits in autogen pack helpers files were extracted in a
common header, so let's include it from the autogenerated file rather
than copying its content there.
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com >
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32962 >
2025-01-10 18:27:27 +00:00
Boris Brezillon
39461e5818
pan/genxml: s/PAN_PAN_HELPERS_H/PAN_PACK_HELPERS_H/
...
Fix a typo in the multi-inclusion guard.
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com >
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32962 >
2025-01-10 18:27:27 +00:00
Eric Engestrom
519f4bba6b
docs/release-calendar: push the 25.0 branchpoint back by 2 weeks
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32975 >
2025-01-10 18:19:06 +00:00
Michael Cheng
c3c05ffb5f
intel : Expose Shader hashes for utrace and Perfetto
...
This patch exposes shader hashes (computes and draws) to Perfetto and
utrace. By including these hashes in traces, developers can correlate
compute and draw calls with their assoicated ASM dumps when analyzing
the traces.
To achieve this, intel_tracepoint.py has been reworked to preprocess
tracepoint arguments dynamically. Any argument containing "hash" in its
variable name is now forrmated as hexadecimal before being passed to the
tracepoint definition.
Signed-off-by: Michael <michael.cheng@intel.com >
Reviewed-by: José Roberto de Souza <jose.souza@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32708 >
2025-01-10 17:38:16 +00:00
Boris Brezillon
6f8fb6d73d
panfrost/ci: Add panvk and panfrost to the debian-x86_32 job
...
Useful to catch compile-time regressions.
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com >
Tested-by: Mikhail Gavrilov <mikhail.v.gavrilov@gmail.com >
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32938 >
2025-01-10 15:53:36 +00:00
Boris Brezillon
dc1b988273
panvk: Fix panvk_priv_mem_bo() on 32-bit platforms
...
Masking with an ~7ull promotes the value to 64-bit, leading
to a size mismatch when we cast it to a pointer.
Make sure we're using an uintptr_t type for the mask.
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com >
Tested-by: Mikhail Gavrilov <mikhail.v.gavrilov@gmail.com >
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32938 >
2025-01-10 15:53:36 +00:00
Boris Brezillon
134f965b88
panvk: Fix an alignment issue on x86
...
On x86-32, long long are aligned on 4-bytes only, which breaks
the assumption we had about our sysvals struct layouts.
Define an aligned_u64 embedding the alignment attribute to
keep the alignment sane.
While at it, enforce this alignment with an alignment attribute
on the struct itself.
This fixes the build on x86-32, and should do what we expect,
though it's not been tested in practice.
Fixes: ae76a6a045
("panvk: Pack push constants")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12429
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com >
Tested-by: Mikhail Gavrilov <mikhail.v.gavrilov@gmail.com >
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32938 >
2025-01-10 15:53:36 +00:00
Rhys Perry
2b10930b48
aco: use VOP3 v_mov_b16 if necessary
...
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com >
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com >
Backport-to: 24.3
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32944 >
2025-01-10 15:05:00 +00:00
Rhys Perry
46787fc2d0
aco/util: fix bit_reference::operator&=
...
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com >
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com >
Backport-to: 24.3
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32944 >
2025-01-10 15:05:00 +00:00
Erik Faye-Lund
4ff5672730
docs: update panvk status
...
We enabled fragmentStoresAndAtomics, but forgot to update this file.
Also add drawIndirectFirstInstance, which I missed last time I updated
the new features.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32960 >
2025-01-10 11:35:56 +00:00
Lucas Stach
3a0d4c4203
ci/etnaviv: drop failures caused by missing vertex attributes
...
Now that we fill in a dummy state, instead of allowing the FE to
run with undefined state when no vertex attributes are present
we can drop the failures that were caused by this issue.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de >
Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32947 >
2025-01-10 10:57:58 +00:00
Lucas Stach
5ca8feb28b
etnaviv: fix rendering without vertex buffers/attributes
...
The hardware doesn't allow to disable all vertex attribute streams,
so we end up with random FE state when a draw without vertex
attributes is encountered. Plug in a dummy attribute and vertex
buffer to avoid this.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de >
Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32947 >
2025-01-10 10:57:58 +00:00
Lucas Stach
bca5ef70a4
etnaviv: split dummy RT backing store from reloc
...
The dummy BO used as backing store for the dummy render target
can be reused for other usages where we don't care about the
actual content of the buffer. Split it out from the dummy RT
reloc to make this more clear.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de >
Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32947 >
2025-01-10 10:57:58 +00:00
David Rosca
c23df7e790
frontends/va: Only report surface alignment when non-zero
...
Otherwise this means the alignment is 1x1 which is wrong.
Fixes: b24748a93a
("frontends/va: add surface alignment attribute")
Reviewed-by: Leo Liu <leo.liu@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32923 >
2025-01-10 10:10:41 +00:00
Lukas Lipp
c0ef005bf4
wsi: Fix wrong function name for lvp wsi metal surface
...
Fixes: a42c2293ab
Reviewed-by: Aleksi Sapon <aleksi.sapon@autodesk.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32878 >
2025-01-10 09:27:02 +00:00
David Rosca
42595eb52e
radeonsi/vcn: Fix crash when failing to allocate internal buffers
...
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11725
Reviewed-by: Leo Liu <leo.liu@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32901 >
2025-01-10 07:43:08 +00:00
Caio Oliveira
c9e667b7ad
intel/elk: Remove uses of VLAs
...
Was causing trouble in some build configurations, we don't really need
them. Unless there's a good reason, defaults to use ralloc for
consistency with the larger codebase.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
Reviewed-by: Antonio Ospite <None>
Reviewed-by: Kenneth Graunke <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32916 >
2025-01-10 07:05:35 +00:00
Caio Oliveira
172c1ab984
intel/elk: Add ELK_MAX_MRF_ALL for static allocating arrays
...
Replace usage of variable length arrays.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
Reviewed-by: Antonio Ospite <None>
Reviewed-by: Kenneth Graunke <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32916 >
2025-01-10 07:05:35 +00:00
Caio Oliveira
4d43ee0dd6
intel/brw: Remove uses of VLAs
...
Was causing trouble in some build configurations, we don't really need
them. Use ralloc for consistency.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
Reviewed-by: Antonio Ospite <None>
Reviewed-by: Kenneth Graunke <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32916 >
2025-01-10 07:05:35 +00:00
Caio Oliveira
faf4c35b74
intel/compiler: Use linear allocator for ACP trees in copy-prop
...
Replace usage of variable length array.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
Reviewed-by: Antonio Ospite <None>
Reviewed-by: Kenneth Graunke <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32916 >
2025-01-10 07:05:35 +00:00
Caio Oliveira
d35b6919a5
util: Add operator new[] to linear context helper declarations
...
This allow us to allocate arrays with `new (lin_ctx) MyStruct[10]`.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
Reviewed-by: Antonio Ospite <None>
Reviewed-by: Kenneth Graunke <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32916 >
2025-01-10 07:05:35 +00:00
Caio Oliveira
e6a3770433
intel/compiler: Use INFINITY spill cost to represent no_spill
...
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
Reviewed-by: Antonio Ospite <None>
Reviewed-by: Kenneth Graunke <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32916 >
2025-01-10 07:05:35 +00:00