Comment
This commit is contained in:
parent
2873439ec8
commit
dc0f1c71cc
1 changed files with 1 additions and 1 deletions
|
|
@ -263,7 +263,7 @@ public:
|
||||||
model.bindBuffers(drawCmdBuffers[i]);
|
model.bindBuffers(drawCmdBuffers[i]);
|
||||||
|
|
||||||
// Instead of using descriptors to pass global and per-model matrices to the shader, we can now simply pass buffer references via push constants
|
// Instead of using descriptors to pass global and per-model matrices to the shader, we can now simply pass buffer references via push constants
|
||||||
// The reader then simply reads data from the address of that reference
|
// The shader then simply reads data from the address of that reference
|
||||||
PushConstantBlock references{};
|
PushConstantBlock references{};
|
||||||
// Pass pointer to the global matrix via a buffer device address
|
// Pass pointer to the global matrix via a buffer device address
|
||||||
references.sceneReference = scene.bufferDeviceAddress;
|
references.sceneReference = scene.bufferDeviceAddress;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue