fix shader disassembly
This commit is contained in:
parent
f4a8cef602
commit
eafd47b04e
@ -126,6 +126,9 @@ InitGame(PlatformWindow* window)
|
||||
|
||||
g.ui_pipeline = CreateGraphicsPipeline(&g.rd, &ui_info);
|
||||
|
||||
PrintShaderDisassembly(&g.rd, g.ui_pipeline, VK_SHADER_STAGE_VERTEX_BIT);
|
||||
PrintShaderDisassembly(&g.rd, g.ui_pipeline, VK_SHADER_STAGE_FRAGMENT_BIT);
|
||||
|
||||
Reset(&g.frame_arena);
|
||||
|
||||
return g;
|
||||
|
||||
@ -3145,10 +3145,12 @@ EnableVLayers(Vulkan* vk)
|
||||
}
|
||||
|
||||
void
|
||||
PrintShaderDisassembly(Vulkan* vk, Pipeline* pipeline, VkShaderStageFlagBits stage)
|
||||
PrintShaderDisassembly(Vulkan* vk, Pipeline pipeline_id, VkShaderStageFlagBits stage)
|
||||
{
|
||||
version(AMD_GPU)
|
||||
{
|
||||
PipelineHandles* pipeline = vk.pipeline_handles.ptr + pipeline_id;
|
||||
|
||||
debug
|
||||
{
|
||||
u64 size;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user