forked from MoonsideGames/Refresh
sync point on SetTextureData
parent
0a7eb1fb2e
commit
6367ccdac0
|
@ -1069,6 +1069,7 @@ typedef struct VulkanRenderer
|
||||||
/* Forward declarations */
|
/* Forward declarations */
|
||||||
|
|
||||||
static void VULKAN_INTERNAL_BeginCommandBuffer(VulkanRenderer *renderer);
|
static void VULKAN_INTERNAL_BeginCommandBuffer(VulkanRenderer *renderer);
|
||||||
|
static void VULKAN_Submit(REFRESH_Renderer* driverData);
|
||||||
|
|
||||||
/* Macros */
|
/* Macros */
|
||||||
|
|
||||||
|
@ -4468,6 +4469,9 @@ static void VULKAN_SetTextureData2D(
|
||||||
&vulkanTexture->resourceAccessType
|
&vulkanTexture->resourceAccessType
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Sync point */
|
||||||
|
VULKAN_Submit(driverData);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void VULKAN_SetTextureData3D(
|
static void VULKAN_SetTextureData3D(
|
||||||
|
@ -4579,6 +4583,9 @@ static void VULKAN_SetTextureData3D(
|
||||||
&vulkanTexture->resourceAccessType
|
&vulkanTexture->resourceAccessType
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Sync point */
|
||||||
|
VULKAN_Submit(driverData);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void VULKAN_SetTextureDataCube(
|
static void VULKAN_SetTextureDataCube(
|
||||||
|
@ -4689,6 +4696,9 @@ static void VULKAN_SetTextureDataCube(
|
||||||
&vulkanTexture->resourceAccessType
|
&vulkanTexture->resourceAccessType
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Sync point */
|
||||||
|
VULKAN_Submit(driverData);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void VULKAN_SetTextureDataYUV(
|
static void VULKAN_SetTextureDataYUV(
|
||||||
|
@ -4888,6 +4898,9 @@ static void VULKAN_SetTextureDataYUV(
|
||||||
&tex->resourceAccessType
|
&tex->resourceAccessType
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Sync point */
|
||||||
|
VULKAN_Submit(driverData);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void VULKAN_INTERNAL_SetBufferData(
|
static void VULKAN_INTERNAL_SetBufferData(
|
||||||
|
|
Loading…
Reference in New Issue