Skip to content

Commit

Permalink
read flush memory command data, instead of write
Browse files Browse the repository at this point in the history
  • Loading branch information
Qining authored and AWoloszyn committed Jan 16, 2018
1 parent 6ba2a47 commit 80fb4a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gapis/api/vulkan/state_rebuilder.go
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,7 @@ func (sb *stateBuilder) allocAndFillScratchBuffer(device *DeviceObject, data []u
size,
}).Ptr(),
VkResult_VK_SUCCESS,
).AddWrite(dat.Data()))
).AddRead(dat.Data()))

sb.write(sb.cb.VkUnmapMemory(
device.VulkanHandle,
Expand Down

0 comments on commit 80fb4a5

Please sign in to comment.