mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 21:30:53 +00:00
Update template custom shader to include UV, add new globals. Refs #304
This commit is contained in:
@@ -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}" +
|
||||
|
||||
Reference in New Issue
Block a user