mirror of
https://github.com/xenia-project/xenia.git
synced 2026-04-04 14:17:24 +00:00
[Vulkan] Explain why CreateShaderModule takes uint32_t* [ci skip]
This commit is contained in:
parent
b61953374e
commit
67ff108f53
1 changed files with 2 additions and 0 deletions
|
|
@ -155,6 +155,8 @@ bool CreateDedicatedAllocationImage(const VulkanProvider& provider,
|
|||
uint32_t* memory_type_out = nullptr,
|
||||
VkDeviceSize* memory_size_out = nullptr);
|
||||
|
||||
// Explicitly accepting const uint32_t* to make sure attention is paid to the
|
||||
// alignment where this is called for safety on different host architectures.
|
||||
inline VkShaderModule CreateShaderModule(const VulkanProvider& provider,
|
||||
const uint32_t* code,
|
||||
size_t code_size_bytes) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue