Skip to content

Commit ad2a34a

Browse files
nnethercoteeddyb
authored andcommitted
Update some out-of-date comments.
1 parent d0f5c9e commit ad2a34a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

examples/runners/ash/src/main.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,6 @@ pub fn main() {
175175
ctx.build_pipelines(
176176
vk::PipelineCache::null(),
177177
vec![(
178-
// HACK(eddyb) we need `multimodule` for `debugPrintf`
179-
// instrumentation to work (see `compile_shaders`).
180178
VertexShaderEntryPoint {
181179
module: format!("{crate_ident}::main_vs"),
182180
entry_point: "main_vs".into(),
@@ -284,8 +282,9 @@ pub fn compile_shaders(shader: &RustGPUShader) -> Vec<SpvFile> {
284282
print_inputs: true,
285283
print_backtrace: true,
286284
})
287-
// HACK(eddyb) needed because of `debugPrintf` instrumentation limitations
288-
// (see https://github.com/KhronosGroup/SPIRV-Tools/issues/4892).
285+
// TODO: `multimodule` is no longer needed since
286+
// https://github.com/KhronosGroup/SPIRV-Tools/issues/4892 was fixed, but removing it is
287+
// non-trivial and hasn't been done et.
289288
.multimodule(true)
290289
.build()
291290
.unwrap()

0 commit comments

Comments
 (0)