fossilize-synth - Can't create shader with
还没有人认领这个 Issue。
评估
调研方向
首先使用 fossilize-synth --frag dump_frag.spv --output repro.foz 重现该报告,并检查所提供 shader 的 set 2、binding 0 声明。将报告的描述符类型重叠情况与相关的 Vulkan descriptor-buffer 规则进行比较。未指定源文件或测试;完成的标准是确定 SPIR-V 是否有效,以及 Fossilize 应当接受它还是明确报告一项限制。
由索引模型根据 Issue 内容生成。
描述
I hit this as trying to instrument this pipeline (from a a vkd3d title using Descriptor Buffers on Intel Mesa) with GPU-AV running on caused the driver to crash and wanted to create a repro, but hitting
$ fossilize-synth --frag dump_frag.spv --output repro.foz
Fossilize ERROR: Overlap in descriptor type for binding (2, 0) (was 6, now 7).
I pulled out the shader and seems valid https://godbolt.org/z/cadKMvben
I see this is around the whole HLSL having CBV vs SSBO stuff
layout(set = 2, binding = 0, std430) restrict readonly buffer SSBO {
uint _m0[];
} _23[];
layout(set = 2, binding = 0, std430) restrict readonly buffer _26_29 {
uvec4 _m0[];
} _29[];
layout(set = 2, binding = 0, std140) uniform BindlessCBV {
vec4 _m0[4096];
} _36[];
not sure who is at fault here, but if this is valid SPIR-V, I guess not sure if this is a limitation of fossilize-synth... but at the same time, not sure what the VK_EXT_descriptor_buffer API side looks like
- 主要语言
- C++
- 星标
- 800
- 派生
- 82
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ValveSoftware/Fossilize 的其他 Issue
-
Repeated shader-processing delays on GTX 970: replay times out at 10 seconds but completes at 60未关闭
难度 5/5 一周以上 新手友好度 35/100
ValveSoftware/Fossilize#318 ·
-
难度 4/5 3-5 天 新手友好度 45/100
ValveSoftware/Fossilize#312 · 10 条评论 · 3 个 reaction ·
-
难度 5/5 一周以上 新手友好度 35/100
ValveSoftware/Fossilize#303 · 1 条评论 · 1 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 45/100
ValveSoftware/Fossilize#300 · 6 条评论 · 4 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 45/100
ValveSoftware/Fossilize#296 ·
查看 ValveSoftware/Fossilize 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
deepseek-ai/DeepGEMM#529 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
compiler-explorer/compiler-explorer#9710 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
ucb-bar/libgemmini#10 ·
-
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
`test_controlled_TermSequenceBox_logging` and `test_symbolic_ops` fail when another test runs first未关闭
难度 2/5 1-3 小时 新手友好度 72/100
Quantinuum/tket#2282 ·
维护者通常 1 天内回复