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

Abierto
#1,889 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
15/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Activo

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
Python
Estrellas
14.9k
Forks
1.2k
Merge medio
1 h 58 min
PR fusionados (30 d)
40

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de ItsNotRexed/Leonida

Todos los issues de ItsNotRexed/Leonida

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.