Removed unnessessary increment to the shader binding table data
This commit is contained in:
parent
cd2ec54f7f
commit
a74849668b
3 changed files with 0 additions and 3 deletions
|
|
@ -414,7 +414,6 @@ public:
|
|||
VkDeviceSize copyShaderIdentifier(uint8_t* data, const uint8_t* shaderHandleStorage, uint32_t groupIndex) {
|
||||
const uint32_t shaderGroupHandleSize = rayTracingProperties.shaderGroupHandleSize;
|
||||
memcpy(data, shaderHandleStorage + groupIndex * shaderGroupHandleSize, shaderGroupHandleSize);
|
||||
data += shaderGroupHandleSize;
|
||||
return shaderGroupHandleSize;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue