mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 21:30:53 +00:00
Hack out handling of vulkan pipeline type in texture viewer
This commit is contained in:
@@ -105,6 +105,10 @@ namespace renderdocui.Windows
|
||||
if (copy || compute)
|
||||
return -1;
|
||||
|
||||
// VKTODOLOW temp - need to tidy this up properly
|
||||
if (core.APIProps.pipelineType == APIPipelineStateType.Vulkan)
|
||||
return -1;
|
||||
|
||||
if (core.APIProps.pipelineType == APIPipelineStateType.D3D11)
|
||||
{
|
||||
D3D11PipelineState.ShaderStage.ResourceView view = null;
|
||||
@@ -160,6 +164,10 @@ namespace renderdocui.Windows
|
||||
if (copy || compute)
|
||||
return -1;
|
||||
|
||||
// VKTODOLOW temp - need to tidy this up properly
|
||||
if (core.APIProps.pipelineType == APIPipelineStateType.Vulkan)
|
||||
return -1;
|
||||
|
||||
if (core.APIProps.pipelineType == APIPipelineStateType.D3D11)
|
||||
{
|
||||
D3D11PipelineState.ShaderStage.ResourceView view = null;
|
||||
@@ -834,7 +842,8 @@ namespace renderdocui.Windows
|
||||
"}}{0}"
|
||||
, Environment.NewLine);
|
||||
}
|
||||
else if (m_Core.APIProps.pipelineType == APIPipelineStateType.OpenGL)
|
||||
else if (m_Core.APIProps.pipelineType == APIPipelineStateType.OpenGL ||
|
||||
m_Core.APIProps.pipelineType == APIPipelineStateType.Vulkan)
|
||||
{
|
||||
src = String.Format(
|
||||
"#version 420 core{0}" +
|
||||
|
||||
Reference in New Issue
Block a user