Skip to content

Commit

Permalink
[0010] Fix constructor call (#327)
Browse files Browse the repository at this point in the history
The sample uses an invalid syntax for initializing a vk::BufferPointer.
This fixes up the syntax.

Fixes #332.
  • Loading branch information
s-perron authored Sep 30, 2024
1 parent 6aff17f commit 2af01cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proposals/0010-vk-buffer-ref.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ struct TestPushConstant_t
float4 MainPs(void) : SV_Target0
{
block_p g_p(g_PushConstants.root);
block_p g_p = block_p(g_PushConstants.root);
g_p = g_p.Get().next;
if ((uint64_t)g_pi == 0) // Null pointer test
return float4(0.0,0.0,0.0,0.0);
Expand Down

0 comments on commit 2af01cd

Please sign in to comment.