Skip to content

Commit 725bdb4

Browse files
committed
hlsl_generator: fix typo
Signed-off-by: Ali Cheraghi <[email protected]>
1 parent c9da81a commit 725bdb4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/hlsl_generator/gen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
// TODO: Generate extended instructions
3737
//! Std 450 Extended set instructions
3838
template<typename SquareMatrix>
39-
[[vk::ext_instruction(34, /* GLSLstd450MatrixInverse */, "GLSL.std.450")]]
39+
[[vk::ext_instruction(34 /* GLSLstd450MatrixInverse */, "GLSL.std.450")]]
4040
SquareMatrix matrixInverse(NBL_CONST_REF_ARG(SquareMatrix) mat);
4141
4242
// Add specializations if you need to emit a `ext_capability` (this means that the instruction needs to forward through an `impl::` struct and so on)

tools/hlsl_generator/out.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ pointer_t<StorageClass, T> copyObject([[vk::ext_reference]] T value);
2727
// TODO: Generate extended instructions
2828
//! Std 450 Extended set instructions
2929
template<typename SquareMatrix>
30-
[[vk::ext_instruction(34, /* GLSLstd450MatrixInverse */, "GLSL.std.450")]]
30+
[[vk::ext_instruction(34 /* GLSLstd450MatrixInverse */, "GLSL.std.450")]]
3131
SquareMatrix matrixInverse(NBL_CONST_REF_ARG(SquareMatrix) mat);
3232

3333
// Add specializations if you need to emit a `ext_capability` (this means that the instruction needs to forward through an `impl::` struct and so on)

0 commit comments

Comments
 (0)