fix double refcount on compute resources
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
6f2e4ed6d1
commit
733ca6f650
|
@ -3393,7 +3393,7 @@ static void VULKAN_INTERNAL_TrackComputeBuffer(
|
||||||
VulkanCommandBuffer *commandBuffer,
|
VulkanCommandBuffer *commandBuffer,
|
||||||
VulkanBuffer *computeBuffer
|
VulkanBuffer *computeBuffer
|
||||||
) {
|
) {
|
||||||
TRACK_RESOURCE(
|
ADD_TO_ARRAY_UNIQUE(
|
||||||
computeBuffer,
|
computeBuffer,
|
||||||
VulkanBuffer*,
|
VulkanBuffer*,
|
||||||
boundComputeBuffers,
|
boundComputeBuffers,
|
||||||
|
@ -3407,7 +3407,7 @@ static void VULKAN_INTERNAL_TrackComputeTexture(
|
||||||
VulkanCommandBuffer *commandBuffer,
|
VulkanCommandBuffer *commandBuffer,
|
||||||
VulkanTexture *computeTexture
|
VulkanTexture *computeTexture
|
||||||
) {
|
) {
|
||||||
TRACK_RESOURCE(
|
ADD_TO_ARRAY_UNIQUE(
|
||||||
computeTexture,
|
computeTexture,
|
||||||
VulkanTexture*,
|
VulkanTexture*,
|
||||||
boundComputeTextures,
|
boundComputeTextures,
|
||||||
|
|
Loading…
Reference in New Issue