Sample Raytracing Invocation Reorder forces Slang shaders - Breaking batch runs

未关闭
#1,602 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 3 天内回复

@SaschaWillems 已经在做这个了。

开始于 2026年11月15日。

  • #1600 来自 @SaschaWillems —— 未关闭

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
20/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
停滞
技术栈
cpp

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
C++
星标
5.4k
派生
848
平均合并
6 天 25 分钟
30 天内合并 PR
7

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

KhronosGroup/Vulkan-Samples 的其他 Issue

查看 KhronosGroup/Vulkan-Samples 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。