(hopefully) the final change
This commit is contained in:
parent
28da849e44
commit
fce5f7ee8f
4
vulkan.d
4
vulkan.d
@ -757,7 +757,7 @@ BeginRendering(Vulkan* vk)
|
||||
pragma(inline): void
|
||||
ResizeDrawImageIfNeeded(Vulkan* vk, ImageView* view)
|
||||
{
|
||||
f32[2] ext = GetExtent(vk);
|
||||
u32[2] ext = GetExtent(vk);
|
||||
|
||||
if (view.w != ext[0] || view.h != ext[1])
|
||||
{
|
||||
@ -1883,7 +1883,7 @@ CreateComputePipeline(Vulkan* vk, CompPipelineInfo* comp_info)
|
||||
assert(BuildShader(vk, &comp_module, comp_info.shader), "Unable to build compute shader");
|
||||
scope(exit) Destroy(vk, comp_module);
|
||||
|
||||
__traits(getMember, &info.stage, "module") = comp_module.value;
|
||||
__traits(getMember, &info.stage, "module") = comp_module;
|
||||
|
||||
VkSpecializationInfo spec_info = {
|
||||
dataSize: comp_info.spec.size,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user