Sample Raytracing Invocation Reorder forces Slang shaders - Breaking batch runs

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

Los mantenedores suelen responder en 3 días

@SaschaWillems ya está trabajando en esto.

Desde el 15/11/2026.

  • #1600 de @SaschaWillems — abierto

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
20/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Estancado
Stack tecnológico
cpp

Línea de trabajo

Read the Raytracing Invocation Reorder sample startup code containing the set_shading_language call, then check how batch runs pass the selected shading language between samples. Remove the unwanted effect on later samples while preserving the selected language for this sample; verify that a batch run keeps its chosen language. The issue says this work may be handled in linked PR #1600.

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

Descripción

While diagnosing a failure in a sample batch run for #1600 I noticed that the Raytracing Invocation Reorder sample does this at startup:

	// Force to use slang due to glslc not currently in public SDK supporting GL_EXT_shader_invocation_reorder; Remove when glslc supports.
	set_shading_language(vkb::ShadingLanguage::SLANG);

While not a big issue when running that sample standalone, this will FORCE all samples that run after this in batch mode to use Slang instead of the actually selected shading language.

I'll probably tackle this in #1600, otherwise I can't properly test tht PR.

Lenguaje dominante
C++
Estrellas
5.4k
Forks
848
Merge medio
6 d 25 min
PR fusionados (30 d)
7

Preparar el entorno

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 KhronosGroup/Vulkan-Samples

Todos los issues de KhronosGroup/Vulkan-Samples

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.