mirror of
https://github.com/xenia-project/xenia.git
synced 2025-12-06 07:12:03 +01:00
[Vulkan] Explain why CreateShaderModule takes uint32_t* [ci skip]
This commit is contained in:
parent
b61953374e
commit
67ff108f53
|
|
@ -155,6 +155,8 @@ bool CreateDedicatedAllocationImage(const VulkanProvider& provider,
|
||||||
uint32_t* memory_type_out = nullptr,
|
uint32_t* memory_type_out = nullptr,
|
||||||
VkDeviceSize* memory_size_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,
|
inline VkShaderModule CreateShaderModule(const VulkanProvider& provider,
|
||||||
const uint32_t* code,
|
const uint32_t* code,
|
||||||
size_t code_size_bytes) {
|
size_t code_size_bytes) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue