Alessandro Astone
|
a077c14f15
|
zink: Fix resizable BAR detection logic
This was broken in two ways:
* When looking for the MAX biggest_ram it was actually comparing
a candidate against biggest_vis_ram
* mem_props.memoryTypes[] should be accessed with the memory type
index as found in heap_map
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10341
Cc: 23.3 <mesa-stable>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26979>
|
2024-01-10 17:53:21 +00:00 |
|
Ruijing Dong
|
9d1e69ca45
|
radeonsi/vcn: update session_info from vcn3 and up.
session_info needs to be updated to vcn4 and up, since
it is safe to change it from vcn3 to cover all the needed
VCNs, thus this change came from VCN3.
Reviewed-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Boyuan Zhang <Boyuan.Zhang@amd.com>
Signed-off-by: Ruijing Dong <ruijing.dong@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26940>
|
2024-01-10 17:36:06 +00:00 |
|
David Heidelberg
|
39616c13e0
|
ci/rootfs: add libdrm also inside the rootfs
Fixes: 4023301010 ("ci: enable ci-deb-repo for libdrm 2.4.119 (and others in the future)")
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26971>
|
2024-01-10 16:39:20 +00:00 |
|
Eric Engestrom
|
0960fd5e8a
|
ci: split & reuse debian version identifier
It was set on non-debian containers, and it was missing on debian-based
rootfs containers.
Fixes: 4023301010 ("ci: enable ci-deb-repo for libdrm 2.4.119 (and others in the future)")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26971>
|
2024-01-10 16:39:20 +00:00 |
|
Samuel Pitoiset
|
41cbd6f735
|
radv: rework declaring color arguments for PS epilogs
Rely on the actual FS outputs instead of the spi shader col format,
this is safer and it will help for future work.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26903>
|
2024-01-10 16:10:15 +00:00 |
|
Max R
|
75fa621d34
|
d3d10umd: Fix compilation
Fixes: 4eb4c9bba ("d3d10umd: use cso_context to set vertex buffers and elements")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10054
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26370>
|
2024-01-10 15:52:52 +00:00 |
|
Mike Blumenkrantz
|
0444d057ae
|
zink: ignore tc buffer replacement info
without tc tracking cross-context buffer usage, this is intensely broken
Fixes: 96cf4531e1 ("Revert "gallium/u_threaded: buffer sharedness tracking"")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26959>
|
2024-01-10 15:35:12 +00:00 |
|
Mike Blumenkrantz
|
6e4d901a2e
|
zink: fix buffer rebind early-out check
this was accidentally inverted; the rebind attempt is over if the
number of enacted rebinds >= the expected rebinds
Fixes: c32bcb9a8c ("zink: improve handling of buffer rebinds using tc info")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26959>
|
2024-01-10 15:35:12 +00:00 |
|
Alyssa Rosenzweig
|
8ddd89ffa5
|
nir,zink: Redefine flat_mask in terms of I/O locations
Robust against separable shaders, and still makes sense for lowered I/O drivers,
whereas just counting FS variables and expecting them to match with the VS is...
questionable.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Signed-off-by: antonino <antonino.maniscalco@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26888>
|
2024-01-10 14:30:14 +00:00 |
|
Roman Stratiienko
|
efe12ae7ee
|
egl/android: Switch to generic buffer-info code
Switch to a new common buffer-info layer. After this change, the virgl
fallback logic is changed, but it should work as well.
Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com>
Tested-by: Mauro Rossi <issor.oruam@gmail.com>
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24374>
|
2024-01-10 14:09:23 +00:00 |
|
Martin Roukala (né Peres)
|
ff82868a60
|
Revert "ci: disable mupuf's farm"
This reverts commit f5125637c085cd4b9bd6fe07813a2505aa3196cb, now that
the electricity rework is over.
Signed-off-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26974>
|
2024-01-10 13:49:07 +00:00 |
|
Alyssa Rosenzweig
|
bec61b72b1
|
agx: clang-fmt
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26963>
|
2024-01-10 08:44:38 -04:00 |
|
Alyssa Rosenzweig
|
5948e7ec2e
|
agx: unit test split uniform opt
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26963>
|
2024-01-10 08:44:38 -04:00 |
|
Alyssa Rosenzweig
|
ab7fb3d400
|
asahi: don't canonicalize nans/flush denorms when copying
CL image copies
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26963>
|
2024-01-10 08:44:38 -04:00 |
|
Alyssa Rosenzweig
|
5cd7416542
|
asahi: fallback some resource copies
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26963>
|
2024-01-10 08:44:38 -04:00 |
|
Alyssa Rosenzweig
|
355af1e903
|
agx: require min alignment for load/store vectorize
fixes test_basic vload_constant
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26963>
|
2024-01-10 08:44:38 -04:00 |
|
Alyssa Rosenzweig
|
96cd467559
|
agx: add unit test for pcopy lowering bug
hit by test_basic.local_kernel_scope
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26963>
|
2024-01-10 08:44:38 -04:00 |
|
Alyssa Rosenzweig
|
5b50040c51
|
agx: fix 64-bit phis with inlined immediates
test_basic local_kernel_scope
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26963>
|
2024-01-10 08:44:38 -04:00 |
|
Alyssa Rosenzweig
|
1f0abffdaf
|
agx: expand agx_index
cl kernels can be large.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26963>
|
2024-01-10 08:44:38 -04:00 |
|
Alyssa Rosenzweig
|
51f8bded0e
|
agx: optimize split(64-bit uniform)
Trying to clean up CL.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26963>
|
2024-01-10 08:44:38 -04:00 |
|
Alyssa Rosenzweig
|
344ec42587
|
asahi: add missing tib alignment check
+ unit test replicating issue.
Fixes arb_sample_shading-builtin-gl-sample-mask-mrt-alpha-to-coverage
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26963>
|
2024-01-10 08:44:38 -04:00 |
|
Alyssa Rosenzweig
|
dd42bf84a3
|
asahi: fix passthrough GS with poly modes
affects wireframe xfb piglits.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26963>
|
2024-01-10 08:44:38 -04:00 |
|
Alyssa Rosenzweig
|
10d48979ce
|
asahi: make txf robust properly
KHR-NoContext.gl43.robust_buffer_access_behavior.texel_fetch
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26963>
|
2024-01-10 08:44:38 -04:00 |
|
Alyssa Rosenzweig
|
f6d5832b6c
|
asahi: plumb get_ubo_size
for robustness lowering.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26963>
|
2024-01-10 08:44:38 -04:00 |
|
Alyssa Rosenzweig
|
21aaba5b83
|
asahi: inline something silly
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26963>
|
2024-01-10 08:44:38 -04:00 |
|
Alyssa Rosenzweig
|
27e3e88f18
|
asahi: rotate xfb'd tri strips
spec req.
GTF-GL46.gtf30.GL3Tests.transform_feedback.transform_feedback_geometry
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26963>
|
2024-01-10 08:44:38 -04:00 |
|
Alyssa Rosenzweig
|
f70da4e920
|
asahi: factor out libagx_map_vertex_in_tri_strip
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26963>
|
2024-01-10 08:44:38 -04:00 |
|
Alyssa Rosenzweig
|
9d78e40735
|
asahi: cl-ify some xfb logic
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26963>
|
2024-01-10 08:44:38 -04:00 |
|
Alyssa Rosenzweig
|
76e8a68249
|
asahi: link libagx before lowering mem access widths
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26963>
|
2024-01-10 08:44:38 -04:00 |
|
Alyssa Rosenzweig
|
c688db1fd7
|
asahi: add missing GS line strip (+adj) handling
How did this pass GLES CTS?!
GTF-GL46.gtf31.GL3Tests.primitive_restart.primitive_restart_mode
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26963>
|
2024-01-10 08:44:38 -04:00 |
|
Alyssa Rosenzweig
|
ed05cfb674
|
asahi: disable fp16 cbuf cap
GTF-GL46.gtf21.GL2Tests.glGetUniform.glGetUniform
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26963>
|
2024-01-10 08:44:38 -04:00 |
|
Alyssa Rosenzweig
|
dd840eb501
|
asahi: divide by xfb stride for xfb draws
KHR-GL46.transform_feedback.draw_xfb_stream_instanced_test
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26963>
|
2024-01-10 08:44:38 -04:00 |
|
Alyssa Rosenzweig
|
8ce71e5b88
|
asahi: invert program_point_size
make 0 the default value.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26963>
|
2024-01-10 08:44:38 -04:00 |
|
Alyssa Rosenzweig
|
5eae46d9ea
|
asahi: rm agx_vbufs wrapper
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26963>
|
2024-01-10 08:44:38 -04:00 |
|
Alyssa Rosenzweig
|
9192d8367b
|
asahi: rm vbuf.count from key
Unused and causing piles of shader variants in STK. Yikes.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26963>
|
2024-01-10 08:44:38 -04:00 |
|
Alyssa Rosenzweig
|
13603bedc7
|
asahi: rm blend->store from shader key
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26963>
|
2024-01-10 08:44:38 -04:00 |
|
Alyssa Rosenzweig
|
3f094e635f
|
asahi: rm nr_cbufs from key
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26963>
|
2024-01-10 08:44:38 -04:00 |
|
Alyssa Rosenzweig
|
d31d0af5c5
|
asahi: rm logicop enable bit
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26963>
|
2024-01-10 08:44:38 -04:00 |
|
Alyssa Rosenzweig
|
1bdf189393
|
asahi: rm unused blend enable bit
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26963>
|
2024-01-10 08:44:38 -04:00 |
|
Alyssa Rosenzweig
|
97f9f7ab0a
|
asahi: implement point sprites w/o shader key
we can replace varyings with point sprites, we just need to fix up .zw
appropriately. do that with some bcsels, ALU is cheap.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26963>
|
2024-01-10 08:44:38 -04:00 |
|
Alyssa Rosenzweig
|
ba0f28ad8b
|
asahi: rm layered bit from shader key
Just always use layered, like AGXV. This was a pointless bit of optimization
that only affects render target spilling with neglible impact.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26963>
|
2024-01-10 08:44:38 -04:00 |
|
Alyssa Rosenzweig
|
5931862c29
|
asahi: rm pointless multisample key bit
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26963>
|
2024-01-10 08:44:38 -04:00 |
|
Alyssa Rosenzweig
|
78614653a6
|
asahi: bump vertex shader outputs
KHR-Single-GL46.enhanced_layouts.xfb_explicit_location
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26963>
|
2024-01-10 08:44:38 -04:00 |
|
Alyssa Rosenzweig
|
a20c693b7f
|
agx: fix xfb of invalid var
KHR-Single-GL44.enhanced_layouts.xfb_capture_struct
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26963>
|
2024-01-10 08:44:38 -04:00 |
|
Alyssa Rosenzweig
|
e0c1776187
|
agx: fix xfb of invalid comp
KHR-Single-GL44.enhanced_layouts.xfb_capture_inactive_output_component
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26963>
|
2024-01-10 08:44:38 -04:00 |
|
Alyssa Rosenzweig
|
4071baf1b3
|
agx: const fold after discard lowering
to avoid silly xor op with an unconditional discard.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26963>
|
2024-01-10 08:44:38 -04:00 |
|
Alyssa Rosenzweig
|
1006e27627
|
asahi: implement xfb overflow queries
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26963>
|
2024-01-10 08:44:38 -04:00 |
|
Alyssa Rosenzweig
|
c4fd1abc8b
|
asahi: stub qbo on the cpu
allowed by spec, perf will suck of course.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26963>
|
2024-01-10 08:44:38 -04:00 |
|
Alyssa Rosenzweig
|
6deaaaa46a
|
asahi: rework compute emptiness tracking
from debugging tess.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26963>
|
2024-01-10 08:44:38 -04:00 |
|
Alyssa Rosenzweig
|
33229d4ace
|
agx: handle imm inlining into phis
allows better coalescing
total instructions in shared programs: 1881875 -> 1881745 (<.01%)
instructions in affected programs: 169787 -> 169657 (-0.08%)
helped: 288
HURT: 234
Instructions are helped.
total bytes in shared programs: 12332916 -> 12323788 (-0.07%)
bytes in affected programs: 1958846 -> 1949718 (-0.47%)
helped: 778
HURT: 108
Bytes are helped.
total halfregs in shared programs: 498490 -> 498126 (-0.07%)
halfregs in affected programs: 6960 -> 6596 (-5.23%)
helped: 102
HURT: 28
Halfregs are helped.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26963>
|
2024-01-10 08:44:38 -04:00 |
|