Skip to content

Commit 4f589bd

Browse files
committed
Use Slang pointer syntax
1 parent d56629e commit 4f589bd

File tree

5 files changed

+2
-2
lines changed

5 files changed

+2
-2
lines changed
-328 Bytes
Binary file not shown.
-328 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
-576 Bytes
Binary file not shown.

shaders/slang/raytracingtextures/raytracingtextures.slang

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ struct Triangle {
1717

1818
struct BufferReferences {
1919
// Pointer to the buffer with the scene's MVP matrix
20-
ConstBufferPointer<float4> vertices;
20+
float4* vertices;
2121
// Pointer to the buffer for the data for each model
22-
ConstBufferPointer<uint> indices;
22+
uint* indices;
2323
};
2424
[[vk::push_constant]] BufferReferences bufferReferences;
2525

0 commit comments

Comments
 (0)