Commit Graph
193 Commits
Author SHA1 Message Date
Tyler Smith 3805b53f16 perf(gpu): a kernel's imageblock slice write that its thread makes last before a threadgroup barrier or the kernel's end is written by every thread there, where the one calling thread wrote each slice's pixels in a loop while its group waited, about 2 ms a dispatch in Core Animation's blur kernels 2026-11-19 17:37:03 -05:00
Tyler Smith 3694e2bd8e test(gpu): metal-suite cases hold every reader of a rendered two-plane extended-range surface and of a large sampled two-plane surface to its last write: CPU locks, readback, a second texture, another process, and an argument buffer with a residency set after CPU and GPU writes 2026-11-19 17:37:03 -05:00
Tyler Smith e219bc50d9 fix(xtask): gpu export writes back a patch file the series holds byte for byte while its commit makes the same change, so fetch then export changes nothing, where it gave each contributor's patch the configured author and a UTC date and lost its signature and short blob names 2026-11-18 07:48:09 -05:00
Daniel Brooks d90a67c676 fix(gpu): fail only a submission amdgpu refuses short of losing the context and keep a lost RADV device unreleased, where any refusal lost the device for every client and its reopen closed RADV's file in the turn every client waits on 2026-11-17 01:22:57 -05:00
Tyler Smith a6f494d7e3 fix(xtask): gpu compilers reads a thin archive's members from their own files and leaves the system's libraries out of the archives it inspects, where Meson 1.10's thin archives and its implicit inputs on libm.a and libdl.a stopped the run after its tests passed 2026-11-16 17:10:30 -05:00
Tyler Smith dd76724be3 test(gpu): a Metal suite case times eight frames sampling a 3840x2160 10-bit 4:2:0 video surface and checks the frames after a CPU write see it 2026-11-16 16:56:32 -05:00
Tyler Smith fda4ece2a2 perf(gpu): a large sampled two-plane IOSurface texture is kept in device memory and copied from its rows only in command buffers that use it after its surface's seed changed or the GPU wrote it, where every sample was a bus read of guest RAM and a 4K video wallpaper cost Mission Control 10-19 ms a frame 2026-11-16 16:56:32 -05:00
Tyler Smith 566b72cb8a fix(gpu): RADV builds a stage given as NIR in VkPipelineShaderStageNirCreateInfoMESA, as Mesa's common pipelines do, from a clone that takes the device's options, and radv-test builds such a pipeline through ACO on each of its 9 devices, where RADV skipped the stage and compiled zero words of SPIR-V for every Metal pipeline 2026-11-16 16:32:13 -05:00
Tyler Smith 823ae097a7 fix(intel): ANV reads storage images without a format below Gfx12.5 through its shader conversion by default, so Tiger Lake to Raptor Lake give Metal read-write texture tier 2, and anv-test builds a pipeline from NIR through BRW per platform, where the conversion was on only for Android and the Metal device refused Gen12.0 (Mesa patch 0030) 2026-11-16 16:32:13 -05:00
Tyler Smith b8e95bdcf8 test(gpu): cargo xtask gpu anv-test says per platform which of the Metal device's Vulkan requirements ANV lacks, where it created only a plain device and never showed that the Metal device refuses ANV on every platform 2026-11-16 16:32:13 -05:00
Tyler Smith bc1d8fbdbc fix(gpu): a release build (STELA_RELEASE) fails with the reason when the host cannot build a Vulkan driver the image gives its GPUs, named by each driver's released flag, where it built an image without that driver as a developer's build does 2026-11-16 13:17:46 -05:00
Tyler Smith 865c48e476 fix(gpu): a host whose mesa_clc build fails, as on a pkg-config file naming libdrm headers that are not there, builds the image without the Vulkan drivers that need it and names the first compiler error once, where the failure stopped cargo xtask gpu nvk 2026-11-16 10:57:56 -05:00
Tyler Smith d970f08f43 test(gpu): cargo xtask gpu radv-test builds RADV for the host with the image's options and runs it over Mesa's amdgpu no-op DRM shim through Stela's libdrm stand-in and libdrm_amdgpu from its unchanged sources, creating the device, compiling an ACO compute pipeline and submitting one dispatch for nine AMD GPUs from GFX8 to GFX12, each amdgpu ioctl counted and checked against Stela's amdgpu 2026-11-16 10:41:48 -05:00
Tyler Smith fb806f922a feat(gpu): the image's Mesa build adds RADV with ACO as one more entry of its driver table when the build host has the tools, with libdrm_amdgpu built from libdrm's unchanged sources over the DRM calls compat/mesa/drm.c serves, RADV's entry and its clashing symbols under their own names, and RADV's own NIR options for metal::amd::DRIVER, with tests; AMD's stack still gives no Vulkan driver 2026-11-16 10:41:48 -05:00
Tyler Smith 31f72536fb refactor(gpu): the host tests of the image's Vulkan drivers share one module for Mesa's host configuration, the test program's compile and link, the host's libdrm and the kernel driver's ioctl table, which ANV's test now uses, so a second driver's test is its driver, shim, program and devices alone 2026-11-16 10:41:48 -05:00
Tyler Smith ed4f478bac test(gpu): cargo xtask gpu anv-test builds ANV for the host with the image's options and runs it over an xe no-op DRM shim through Stela's libdrm stand-in, creating the device, compiling a BRW compute pipeline and submitting one dispatch for six xe platforms, each xe ioctl checked against Stela's xe 2026-11-16 10:41:48 -05:00
Tyler Smith 0e2bcf964a feat(gpu): the image's Mesa build adds ANV with BRW beside NVK when the build host has what its build runs, mesa_clc and vtn_bindgen2 built here for the host and glslang, with ANV's loader entry compiled under its own name and checked against NVK's symbols, and says once why ANV is not built otherwise; Intel's stack names ANV's entry only in an image that holds it 2026-11-16 10:41:48 -05:00
Tyler Smith 1a22c6e35d fix(gpu): the image's C library has dl_iterate_phdr, which finds no ELF object, imaxabs, openat in the current directory, a refusing mkfifoat and ENOBUFS, so Meson's probe finds dl_iterate_phdr and ANV's units compile, where ANV's configuration stopped and the build forced the probe's define 2026-11-16 10:41:48 -05:00
Tyler Smith 55731fcad6 build(gpu): a change of Meson's options configures Mesa again from its own record of them, and a unit whose compile command changed is compiled again, where the first removed every GPU build tree, LLVM's and the C library's included, and a new probe result kept a unit's old object 2026-11-16 10:41:48 -05:00
Tyler Smith b11703fb2c test(gpu): the Metal suite renders a pass shaped as a path coverage pass, with varyings without perspective and an output to color attachment 1 alone under early fragment tests, where no case covered the pipeline whose shader program header a GB203 refused 2026-11-16 03:20:59 -05:00
Tyler Smith 8bef08364c fix(gpu): a shared depth or stencil texture is made with a CPU copy that CPU writes reach the image from at the next commit and CPU reads copy the image out on the GPU, and a shared combined depth-stencil texture is made for blits alone, where every shared texture of a format without host image copy was refused and a pass with a shared Depth32Float target failed 2026-11-16 03:20:59 -05:00
Tyler Smith 90a89d2019 test(gpu): the two-plane extended-range suite case also reads back a 512x256 surface, whose encode goes through staging memory, where only a surface under the staging size was checked 2026-11-15 18:07:52 -05:00
Tyler Smith 3c7160255b perf(gpu): a plain global store is weak in NAK and the Metal suite checks store order and times stores and loads in Shared and Private buffers, where every plain store was strong at GPU scope 2026-11-15 17:28:33 -05:00
Tyler Smith 88983e7578 fix(xtask): key the GPU build trees on every flag, define and Meson option the builds pass or drop, the probes' link flags among them 2026-11-12 04:31:24 -05:00
Tyler Smith 3b100b62db refactor(xtask): compile Mesa's probes position-independent through the one -fPIC constant 2026-11-12 04:31:24 -05:00
Tyler Smith d8732df77b feat(xtask): choose Clang, libclang, LLD, llvm-ar and llvm-nm as one supported LLVM, check the host before dist and check, turn off hardening defaults in Mesa's probes, refuse failed probes, and rebuild the GPU trees when tools or flags change 2026-11-12 04:01:28 -05:00
Tyler Smith be7a8d5c7b feat(gpu): make Metal buffers over an IOSurface's pages through the shared imported-buffer path 2026-11-11 14:26:39 -05:00
Tyler Smith a43edcbf73 feat(xtask): always build and check with NVK in dist and check, drop their --nvk flags, and move the GPU toolchain lookup out of the removed nvidia module 2026-11-11 04:49:19 +00:00
Tyler Smith 4e36d40d50 docs(xtask): drop citations of local notes from comments and Metal suite notes 2026-11-11 04:38:39 +00:00
Tyler Smith b8afc4706e chore(gpu): remove the unhooked NVIDIA open-RM port, its feature, xtask gpu nvidia, its check lane and the nvidia submodule 2026-11-11 04:35:52 +00:00
Tyler Smith 06a3c22b94 feat(xtask): write the configured identity and a UTC date in exported patch headers 2026-11-11 04:26:28 +00:00
Tyler Smith 1c3e300277 perf(gpu): fail only the command buffer whose submission the driver refuses, look from the waiter's timeline reading, cache imports, and skip event queries once values are reached 2026-11-11 02:53:00 +00:00
Tyler Smith 1f177fc3df perf(gpu): answer polls without a turn, ask the import memory type once, submit on Mesa's submit thread, read reached event values without the driver, and count imports and PES DEVICE MODELS 2026-11-11 02:15:01 +00:00
Tyler Smith e09f194188 test(gpu): add suite cases for heap fit, CPU and region clears, two-plane 10-bit targets, surface-backed glass text and full-screen display passes 2026-11-10 21:15:19 +00:00
Tyler Smith 0f3c58eaa7 fix(xtask): compile ralloc without NDEBUG in the NVK archive, so the image links ralloc_total_size 2026-11-10 21:15:19 +00:00
Tyler Smith 62021a8ce1 test(gpu): add glass lettering suite cases whose glass, gradient fill and key and fill highlight follow the glyphs' SDF, as SwiftUI builds the login window's clock 2026-11-10 18:07:10 +00:00
Tyler Smith 310b55d775 test(gpu): map the CompletedAfter operation to the suite's event-wait call in the operation coverage table 2026-11-10 17:48:36 +00:00
Tyler Smith e493c4ecf6 fix(gpu): compile a tile pipeline for the largest square of threads its limit holds, check padded tile sides against that limit, and name the threads and limit in a refusal 2026-11-10 17:43:49 +00:00
Tyler Smith c3b8a267f0 fix(gpu): hold command buffers at unpromised event waits per Metal queue and per segment, so buffers that signal each other mid-buffer across queues complete 2026-11-10 16:14:31 +00:00
Tyler Smith 68cdc6b056 feat(gpu): let a tile function take one explicit and one implicit imageblock, and write imageblock slices in tile functions 2026-11-10 15:52:36 +00:00
Tyler Smith 0041dd071a test(gpu): hold implicit-level samples and texel reads after a divergent early return to the Mac, with gradients taken before the branch 2026-11-10 15:52:22 +00:00
Tyler Smith b161a993fb fix(gpu): link a function made from a descriptor under its specialized name, the name pipelines call it by 2026-11-10 14:18:57 +00:00
Tyler Smith 413d30b179 fix(gpu): answer heap texture sizes independent of usage, count a full heap's nil by cause instead of logging it, and hold heaps of the device's own answered sizes to the Mac 2026-11-10 12:32:26 +00:00
Tyler Smith 37c3147296 test(gpu): pin the AppKit glass button case to the light appearance, add its dark variant, and hold the guest display's SDR glass button values to the Mac 2026-11-10 11:57:43 +00:00
Tyler Smith 404c1f39be test(gpu): add Metal suite cases for two-plane surfaces, ASTC HDR, bicubic bias, derivatives in branches, tile layout, packing ties, glass text and fresh resources 2026-11-10 09:56:46 +00:00
Tyler Smith 2cda2191f0 feat(gpu): lower fast and precise AIR math in single and half precision, with no doubles 2026-11-10 09:55:37 +00:00
Tyler Smith f28b37c0a9 perf(gpu): build NVK in release mode, without per-pass NIR validation 2026-11-10 09:55:30 +00:00
Tyler Smith b43ea7db87 fix(xtask): take the Mac's ssh name from --host or STELA_MAC, with no personal default 2026-11-10 09:43:53 +00:00
Tyler Smith 94659cb94f fix(gpu): give each lane the SIMD-group matrix elements Apple GPUs give it, in their Morton order 2026-11-08 02:17:54 +00:00
Tyler Smith addcfb35db test(gpu): multiply MPS matrices of several shapes with exact integer values 2026-11-08 01:24:25 +00:00