Faith Ekstrand
b15cd5dea0
meson: Disable unsafe_op_in_unsafe_fn in bindgen for now
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36849 >
2025-08-20 17:06:49 +00:00
Faith Ekstrand
5db8727ed1
meson: Add a rust_2024_lint_args helper
...
Copied from rusticl. This makes it easier for other Rust components to
ask for all the 2024 warnings.
Reviewed-by: Karol Herbst <kherbst@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36849 >
2025-08-20 17:06:48 +00:00
Faith Ekstrand
291ccffd3d
subprojects: Stop calling add_languages() in paste-1-rs/meson.build
...
Reviewed-by: Mel Henning <mhenning@darkrefraction.com >
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36849 >
2025-08-20 17:06:47 +00:00
Antonio Ospite
8f84ae7de7
compiler/rust: fix errors about hiding elided lifetime
...
In some setups the rust compiler emits errors like the following:
-----------------------------------------------------------------------
error: hiding a lifetime that's elided elsewhere is confusing
--> ../subprojects/proc-macro2-1.0.86/src/parse.rs:125:25
|
125 | fn block_comment(input: Cursor) -> PResult<&str> {
| ^^^^^^ -------------
| | | |
| | | the same lifetime is elided here
| | the same lifetime is hidden here
| the lifetime is hidden here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
= note: `-D mismatched-lifetime-syntaxes` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(mismatched_lifetime_syntaxes)]`
help: use `'_` for type paths
|
125 | fn block_comment(input: Cursor<'_>) -> PResult<'_, &str> {
| ++++ +++
-----------------------------------------------------------------------
Follow the solution suggested by the compiler to silence the errors, for
all the observed occurrences.
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com >
Reviewed-by: Mel Henning <mhenning@darkrefraction.com >
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36849 >
2025-08-20 17:06:47 +00:00
Antonio Ospite
5c019bdee5
nak/nouveau: silence errors about never used methods
...
When building nvk for Android the rust compiler emits the following
errors:
-----------------------------------------------------------------------
error: methods `get_pred_src`, `get_u32_bnot_src`, `get_carry_src`, `set_pred_dst`, and `set_carry_dst` are never used
--> ../src/nouveau/compiler/nak/ir.rs:1371:12
|
1370 | impl OpFoldData<'_> {
| ------------------- methods in this implementation
1371 | pub fn get_pred_src(&self, op: &impl SrcsAsSlice, src: &Src) -> bool {
| ^^^^^^^^^^^^
...
1404 | pub fn get_u32_bnot_src(&self, op: &impl SrcsAsSlice, src: &Src) -> u32 {
| ^^^^^^^^^^^^^^^^
...
1413 | pub fn get_carry_src(&self, op: &impl SrcsAsSlice, src: &Src) -> bool {
| ^^^^^^^^^^^^^
...
1446 | pub fn set_pred_dst(&mut self, op: &impl DstsAsSlice, dst: &Dst, b: bool) {
| ^^^^^^^^^^^^
...
1450 | pub fn set_carry_dst(&mut self, op: &impl DstsAsSlice, dst: &Dst, b: bool) {
| ^^^^^^^^^^^^^
|
= note: `-D dead-code` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(dead_code)]`
error: method `eval` is never used
--> ../src/nouveau/compiler/nak/ir.rs:1523:12
|
1522 | impl PredSetOp {
| -------------- method in this implementation
1523 | pub fn eval(&self, a: bool, b: bool) -> bool {
| ^^^^
error: method `to_mask` is never used
--> ../src/nouveau/compiler/nak/ir.rs:5625:12
|
5614 | impl SuClampRound {
| ----------------- method in this implementation
...
5625 | pub fn to_mask(&self) -> u32 {
| ^^^^^^^
error: method `cast` is never used
--> ../src/nouveau/compiler/nak/ir.rs:6041:8
|
6006 | impl IMadSpSrcType {
| ------------------ method in this implementation
...
6041 | fn cast(&self, v: u32) -> i64 {
| ^^^^
-----------------------------------------------------------------------
Add `#[allow(dead_code)]` to silence the errors, as suggested by the
compiler.
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com >
Reviewed-by: Mel Henning <mhenning@darkrefraction.com >
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36849 >
2025-08-20 17:06:47 +00:00
Yonggang Luo
a3b4a26d58
meson: Remove unused with_asm_arch and USE_*_ASM macros
...
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/36635 >
2025-08-20 16:21:28 +00:00
Yonggang Luo
f12db445ec
mesa: Remove duplicated deceleration of _mesa_glapi_tls_Dispatch _mesa_glapi_tls_Context
...
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/36635 >
2025-08-20 16:21:28 +00:00
Yonggang Luo
8ca533c942
mesa: refactor the glapi/tls includes into a single, reused header
...
This is done by introduce predefined macro MESA_SYSTEM_HAS_KMS_DRM=system_has_kms_drm
And after these change, the usage of USE_*_ASM macros in mesa/glapi are avoided.
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/36635 >
2025-08-20 16:21:28 +00:00
Yonggang Luo
82bafaa1fa
vc4: Remove the usage of USE_ARM_ASM
...
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Marek Olšák <marek.olsak@amd.com >
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36635 >
2025-08-20 16:21:28 +00:00
Yonggang Luo
b2761d1481
util: Remove usage of USE_**_ASM macros
...
Use DETECT_ARCH_X86 DETECT_ARCH_X86_64 DETECT_ARCH_AARCH64 DETECT_CC_GCC instead
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/36635 >
2025-08-20 16:21:28 +00:00
Yonggang Luo
7c1b96faaa
mesa: Remove usage of USE_*ASM in mesa/main/debug.c
...
Use DETECT_ARCH_X86, DETECT_ARCH_X86_64 and DETECT_ARCH_SPARC64 instead.
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/36635 >
2025-08-20 16:21:28 +00:00
Yonggang Luo
a3e3c889d1
util: Add DETECT_ARCH_SPARC64 for sparc
...
By reference to
https://sourceforge.net/p/predef/wiki/Architectures/
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/36635 >
2025-08-20 16:21:27 +00:00
Yonggang Luo
272c331913
meson: Remove redundant TODO:
...
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/36635 >
2025-08-20 16:21:27 +00:00
Yonggang Luo
0c9b043012
ci: remove non-existent files in ci watch list
...
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/36635 >
2025-08-20 16:21:27 +00:00
Yonggang Luo
b589b24209
mesa: Remove unused assyntax.h and update related files
...
Also remove unused .gl-rules::changes in test-source-dep.yml
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/36635 >
2025-08-20 16:21:27 +00:00
Eric Engestrom
f78dee44b8
docs: add sha sum for 25.2.1
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36882 >
2025-08-20 16:08:47 +00:00
Eric Engestrom
7ba6c2789f
docs: add release notes for 25.2.1
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36882 >
2025-08-20 16:08:47 +00:00
Eric Engestrom
3ec5096e01
docs: update calendar for 25.2.1
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36882 >
2025-08-20 16:08:47 +00:00
Eric Engestrom
3844c35e0d
docs: stub pipe_format & pipe_video_chroma_format
...
Fixes: fabd0d82db ("util/format: Auto-generate the enum pipe_format definition")
Fixes: 5e01ec4bd0 ("util/format: Auto-generate a bunch of YUV helpers")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36888 >
2025-08-20 16:03:51 +00:00
Nataraj Deshpande
f67edacf8b
anv: add feature flags for linearly tiled ASTC images
...
In case of emulated ASTC on supported platforms, currently returning
0 for linear tiled images causes vpGetPhysicalDeviceProfileSupport
failure during AndroidBaselineProfile test. The patch handles it
similar to linearly-tiled images that are used for transfers.
Fixes android.graphics.cts.VulkanFeaturesTest#testAndroidBaselineProfile2021Support.
Cc: mesa-stable
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36798 >
2025-08-20 15:28:50 +00:00
Lionel Landwerlin
fe38fb858c
brw: workaround broken indirect RT messages on Gfx11
...
Unfortunately we cannot use the indirect descriptor on Gfx11, it
appears to just drop writes. Other platforms appear to be fine.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Cc: mesa-stable
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36883 >
2025-08-20 15:01:50 +00:00
Lionel Landwerlin
a0844458b8
brw: enable opt_register_coalesce to work with multiple EOT blocks
...
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com >
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36883 >
2025-08-20 15:01:50 +00:00
Lionel Landwerlin
c4c7ff3f8f
brw: enable register allocation to deal with multiple EOTs
...
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com >
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36883 >
2025-08-20 15:01:50 +00:00
David Rosca
325de7fe7e
pipe: Remove now unused is_video_target_buffer_supported
...
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36755 >
2025-08-20 14:25:45 +00:00
David Rosca
a4aed7e517
radeonsi: Remove now unused si_vid_is_target_buffer_supported
...
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36755 >
2025-08-20 14:25:45 +00:00
David Rosca
0df4eed1e2
radeonsi/vcn: Support VPE with decode processing
...
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36755 >
2025-08-20 14:25:45 +00:00
David Rosca
10ac8567de
radeonsi/vcn: Support EFC with encode processing
...
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36755 >
2025-08-20 14:25:45 +00:00
David Rosca
efc6d27fd4
frontends/va: Add support for decode/encode processing
...
This implements support for Decode processing allowing to perform
processing operation on the decoded picture in one single call without
having to use separate processing context.
This also implements the same functionality for encoding, which is
useful to perform conversion from RGB to YUV in a single call, and it
allows us to properly support the conversion inside encoder (eg. EFC on
AMD).
For Encode processing the additional output buffer is required same as
with Decode processing, but driver may not use it to perform the
conversion (in case where the conversion can be done by the encoder hw).
This means the contents of the additional buffer is undefined, and
application should not rely on the buffer actually containing output
picture of the conversion.
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36755 >
2025-08-20 14:25:45 +00:00
David Rosca
b0a5d78247
frontends/va: Remove EFC support
...
It will be moved to encode processing in next commits.
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36755 >
2025-08-20 14:25:45 +00:00
David Rosca
d0eec62831
frontends/va: Change vlVaPostProcCompositor to take pipe_vpp_desc arg
...
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36755 >
2025-08-20 14:25:44 +00:00
David Rosca
d2f3721d99
frontends/va: Refactor vlVaVidEngineBlit
...
Add struct pipe_vpp_desc as argument.
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36755 >
2025-08-20 14:25:44 +00:00
David Rosca
5ae6290446
frontends/va: Cleanup CreateContext
...
Also create video processor here, instead of when processing first
picture.
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36755 >
2025-08-20 14:25:44 +00:00
Boris Brezillon
5e01ec4bd0
util/format: Auto-generate a bunch of YUV helpers
...
Now that the YUV subsampling pattern is encoded in the name, we can
auto-generate a bunch of helpers that were previously hand-written,
and are pretty often lagging behind when new formats are added.
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35177 >
2025-08-20 14:01:07 +00:00
Boris Brezillon
f20ee2806e
util/format: Add subsampling info to our YUV-as-RGB format names
...
This will allow for more autogen and is good to have regardless, because
it makes it clear what the subsampling is when looking at the name.
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35177 >
2025-08-20 14:01:07 +00:00
Boris Brezillon
75ba8f403d
util/format: Use more descriptive names for YUV formats
...
This is the first step for more auto-generated YUV helpers. We keep
the short/fourcc names as aliases, and generate defines so we don't have
to patch the existing code, but ultimately, it'd be good to consistently
use the fully descriptive names so it's easier to reason about the
formats when reading the code.
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35177 >
2025-08-20 14:01:07 +00:00
Boris Brezillon
fabd0d82db
util/format: Auto-generate the enum pipe_format definition
...
I've recently discovered a case where the enum entry was defined, but the
description in the yaml was missing, leading to a NULL deref when we
were querying the util_format_description object for this format.
This autogen of the enum will also allow for more autogen, and proper
classication of formats.
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35177 >
2025-08-20 14:01:06 +00:00
David Rosca
20ad09af25
radeonsi: Map X6R10/X6R10X6G10 formats to R16/R16G16
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35177 >
2025-08-20 14:01:06 +00:00
David Rosca
ddb42b2fc5
auxiliary/vl: Map X6R10/X6R10X6G10 formats to R16/R16G16
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35177 >
2025-08-20 14:01:05 +00:00
Eric Engestrom
1fad1516b8
meson: add spirv-tools option to disable the optional dependency
...
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36689 >
2025-08-20 12:50:40 +00:00
Michal Krol
e3476b4dbd
lavapipe: Bump maxTransformFeedbackBufferDataStride to 2048.
...
D3D10 requires SO buffer stride to be at least 2048 bytes.
Reviewed-by: Roland Scheidegger <roland.scheidegger@broadcom.com >
Acked-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36842 >
2025-08-20 12:33:00 +00:00
Mary Guillemard
1d03897564
pan/bi: Run opt_sink and opt_move in preprocess
...
We can do some movement for UBO and SSBO after they are lowered in
preprocess.
We already do this in postprocess but this now also catch SSBOs as they
are lowered in postprocess.
Overall, reduce fills (less load from TLS) in fossils (excluding
parallel-rdp as it crash still):
Totals:
Instrs: 115242 -> 115046 (-0.17%); split: -0.20%, +0.03%
CodeSize: 1168896 -> 1164928 (-0.34%); split: -0.35%, +0.01%
Estimated normalized CVT cycles: 762.015625 -> 757.109375 (-0.64%); split: -0.75%, +0.11%
Estimated normalized Load/Store cycles: 12693.0 -> 12680.0 (-0.10%); split: -0.11%, +0.01%
Number of spill instructions: 358 -> 359 (+0.28%)
Number of fill instructions: 1600 -> 1584 (-1.00%)
Totals from 127 (15.82% of 803) affected shaders:
Instrs: 31753 -> 31557 (-0.62%); split: -0.73%, +0.12%
CodeSize: 335104 -> 331136 (-1.18%); split: -1.22%, +0.04%
Estimated normalized CVT cycles: 205.546875 -> 200.640625 (-2.39%); split: -2.78%, +0.40%
Estimated normalized Load/Store cycles: 3935.0 -> 3922.0 (-0.33%); split: -0.36%, +0.03%
Number of spill instructions: 124 -> 125 (+0.81%)
Number of fill instructions: 452 -> 436 (-3.54%)
Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com >
Reviewed-by: Olivia Lee <olivia.lee@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36776 >
2025-08-20 12:11:43 +00:00
Mary Guillemard
7e86653a6f
pan/bi: remove dead variables in preprocess
...
This should have no effect apart cleaning up NIR_DEBUG print outputs a
bit.
Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com >
Reviewed-by: Olivia Lee <olivia.lee@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36776 >
2025-08-20 12:11:43 +00:00
Mary Guillemard
bc8a277551
pan/bi: Split bi_optimize_nir and run bi_optimize_loop_nir in preprocess
...
We now have bi_optimize_loop_nir following optimize_nir from NAK.
Overall the more we can cleanup early the better, shouldn't cause much
changes.
For fossils/sascha-willems:
Totals:
Instrs: 40884 -> 40879 (-0.01%); split: -0.02%, +0.01%
Estimated normalized FMA cycles: 588.078125 -> 588.015625 (-0.01%)
Estimated normalized CVT cycles: 249.875 -> 249.859375 (-0.01%); split: -0.04%, +0.04%
Totals from 9 (1.44% of 627) affected shaders:
Instrs: 1521 -> 1516 (-0.33%); split: -0.66%, +0.33%
Estimated normalized FMA cycles: 9.1875 -> 9.125 (-0.68%)
Estimated normalized CVT cycles: 11.125 -> 11.109375 (-0.14%); split: -0.98%, +0.84%
Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com >
Reviewed-by: Olivia Lee <olivia.lee@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36776 >
2025-08-20 12:11:43 +00:00
Mary Guillemard
6ab7a03aef
panfrost: Split texture lowering passes
...
We now have lower_texture_early and lower_texture.
lower_texture_early handle nir_lower_tex and (in the future) could handle
anything that is backend specific that need to happen before nir_lower_io.
lower_texture handles actual lowering of backend specific things that
must happen after nir_lower_tex and nir_lower_io.
This allows us to finally not run nir_lower_tex two times in panvk.
Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com >
Reviewed-by: Olivia Lee <olivia.lee@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36776 >
2025-08-20 12:11:43 +00:00
Mary Guillemard
310eabacc0
panfrost: Move nir_lower_io outside of postprocess
...
Moving it out of there will allow us to shuffle and move API specific parts
out of there.
Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com >
Reviewed-by: Olivia Lee <olivia.lee@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36776 >
2025-08-20 12:11:43 +00:00
Mary Guillemard
a3f935c850
panfrost: Split compilers preprocess_nir
...
As we are going to move texture and IO lowering, this split preprocess
functions in two, one handling preprocess the other postprocess.
The split is done right before lower_io and has no functional change for
now.
Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com >
Reviewed-by: Olivia Lee <olivia.lee@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36776 >
2025-08-20 12:11:43 +00:00
Mary Guillemard
04e9a93339
panvk: Lower sampler and texture index in case of offset
...
We are going to move to run nir_lower_tex once and before
lower_descriptors.
To avoid needing to rerun it, let's never generate a sampler or texture
index in lower_descriptors when offset is present.
Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com >
Reviewed-by: Olivia Lee <olivia.lee@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36776 >
2025-08-20 12:11:43 +00:00
Mary Guillemard
62bfd3f132
panvk: Remove unused color_output_var function in fb_preload
...
Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com >
Reviewed-by: Olivia Lee <olivia.lee@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36776 >
2025-08-20 12:11:43 +00:00
Mary Guillemard
5aba96d4ac
pan/bi: Stop exposing bifrost_nir_lower_load_output
...
Unused outside of pan/bi and also remove orphan bifrost_nir_lower_xfb
declaration.
Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com >
Reviewed-by: Olivia Lee <olivia.lee@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36776 >
2025-08-20 12:11:43 +00:00
Mary Guillemard
7ba81b5f95
pan/bi: Move pan_lower_sample_pos to next block
...
This should only run on frag shaders, let's group it the same way we
have it in midgard compiler.
Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com >
Reviewed-by: Olivia Lee <olivia.lee@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36776 >
2025-08-20 12:11:43 +00:00