Skip to content

Commit

Permalink
limit the 'threadsafe' command to a smaller scope to avoid buggy appl…
Browse files Browse the repository at this point in the history
…ication crashing GPAID
  • Loading branch information
Qining committed Sep 13, 2018
1 parent c974f65 commit cb075bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gapis/api/vulkan/api/pipeline.api
Original file line number Diff line number Diff line change
Expand Up @@ -780,6 +780,7 @@ sub void dovkCmdSetDepthBias(ref!vkCmdSetDepthBiasArgs args) {

@threadSafety("app")
@indirect("VkCommandBuffer", "VkDevice")
@threadsafe
cmd void vkCmdSetDepthBias(
VkCommandBuffer commandBuffer,
f32 depthBiasConstantFactor,
Expand Down Expand Up @@ -922,6 +923,7 @@ sub void dovkCmdSetStencilReference(ref!vkCmdSetStencilReferenceArgs args) {

@threadSafety("app")
@indirect("VkCommandBuffer", "VkDevice")
@threadsafe
cmd void vkCmdSetStencilReference(
VkCommandBuffer commandBuffer,
VkStencilFaceFlags faceMask,
Expand Down

0 comments on commit cb075bf

Please sign in to comment.