initial seed: retrofit campaign lineage from local working trees
panvk-bifrost campaigns (r1..r4 Vulkan compositor + r5.video1 Vulkan
video decode) shipped before this repo existed; the deliverable
patches live in marfrit-packages, but the reasoning chain, phase docs,
and source-state evidence lived only in local working trees on the
development host.
This retrofit imports:
- mesa-panvk-bifrost/ — r1..r4 era phase docs (iter1..iter18)
(libmali stub blobs at iter18/blob/ excluded
— 109MB of RE artifacts replaced with a README
pointer)
- mesa-panvk-bifrost-video/ — sibling campaign phase docs + probe
- evidence/ — frozen .tgz source snapshots at each milestone
(basis for the 0005 patch diff generation)
Future iterations should branch off here from day one, so each iter is
a commit rather than a snapshot. See [[feedback-session-local-process-pins]]
for the process drift this retrofit closes.
Total: 1.9 MB across 124 files.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
# iter13 XFB probe — build glue.
|
||||
|
||||
CC ?= cc
|
||||
CFLAGS ?= -O0 -g -Wall -Wextra -std=c11
|
||||
LDLIBS ?= -lvulkan
|
||||
|
||||
PROBE = probe_xfb
|
||||
NOPROBE = probe_xfb_nodraw
|
||||
SRC = probe_xfb.c
|
||||
NOSRC = probe_xfb_nodraw.c
|
||||
VERT = probe_xfb.vert
|
||||
VSPV = probe_xfb.vert.spv
|
||||
|
||||
all: $(PROBE) $(NOPROBE) $(VSPV)
|
||||
|
||||
$(PROBE): $(SRC)
|
||||
$(CC) $(CFLAGS) -o $@ $< $(LDLIBS)
|
||||
|
||||
$(NOPROBE): $(NOSRC)
|
||||
$(CC) $(CFLAGS) -o $@ $< $(LDLIBS)
|
||||
|
||||
# glslangValidator + xfb-aware compile. The -V flag enables Vulkan SPIR-V output.
|
||||
# xfb_buffer / xfb_offset / xfb_stride decorations are honored when the SPIR-V
|
||||
# is targeted at Vulkan (which is the default for -V).
|
||||
$(VSPV): $(VERT)
|
||||
glslangValidator -V $< -o $@
|
||||
|
||||
run: all
|
||||
PAN_I_WANT_A_BROKEN_VULKAN_DRIVER=1 ./$(PROBE)
|
||||
|
||||
run-patched-mesa: all
|
||||
VK_ICD_FILENAMES=/usr/lib/panvk-bifrost/icd.json \
|
||||
PAN_I_WANT_A_BROKEN_VULKAN_DRIVER=1 \
|
||||
./$(PROBE)
|
||||
|
||||
clean:
|
||||
rm -f $(PROBE) $(VSPV)
|
||||
|
||||
.PHONY: all run run-patched-mesa clean
|
||||
Reference in New Issue
Block a user