Update template custom shader to include UV, add new globals. Refs #304

This commit is contained in:
baldurk
2016-07-26 15:18:45 +02:00
parent 49cd21c8cc
commit 4f06161fb9
5 changed files with 215 additions and 162 deletions
+3 -2
View File
@@ -904,8 +904,9 @@ namespace renderdocui.Windows
m_Core.APIProps.pipelineType == APIPipelineStateType.Vulkan)
{
src = String.Format(
"#version 420 core{0}" +
"layout (location = 0) out vec4 color_out;{0}" +
"#version 420 core{0}{0}" +
"layout (location = 0) in vec2 uv;{0}{0}" +
"layout (location = 0) out vec4 color_out;{0}{0}" +
"void main(){0}" +
"{{{0}" +
" color_out = vec4(0,0,0,1);{0}" +