testing single game shaders on real data before the runtime can draw

Aperta
#1,889 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
15/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Attiva

Direzione di ricerca

The issue names no files or tests, only a workflow idea: run a single translated mesh shader and its pixel shader in a small Vulkan test, with hand-built descriptor tables (T# and V# dwords) pointing at one drawable's vertex blob. Start by deciding whether the project wants this harness at all, since the thread has no maintainer decision yet. Done would mean an agreed test setup that compares covered pixels against a CPU projection by IoU.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

ok so this is more of a workflow idea than a bug but it helped me a ton lol. u dont need the whole d3d12 layer working to check if a translated shader is actually right, u can just run one pass by itself. like grab one mesh shader + its pixel shader, hand build the descriptor tables it reads (the T#s and V#s are just 8 / 4 dwords in a heap so u can literally write them urself), point them at one drawable's vertex blob and dispatch it in a tiny vulkan test

then to know if its right compare the covered pixels against the same mesh projected on the cpu, like intersection over union of the two masks. if the translator or the table layout is off even a bit the iou tanks real fast so its a really good yes/no signal. once that matched i could do the same thing pass by pass (material to gbuffer to lighting to tonemap) and each step had something to check against instead of "looks kinda right i guess" :3

Lingua principale
Python
Stelle
14.9k
Fork
1.2k
Merge medio
1h 58m
PR unite (30g)
40

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ItsNotRexed/Leonida

Tutte le issue di ItsNotRexed/Leonida

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.