Support HLSL custom display shaders on D3D12

This commit is contained in:
baldurk
2016-11-18 16:30:03 +01:00
parent 9be8d9b3cc
commit b1809c1949
7 changed files with 331 additions and 65 deletions
+1 -1
View File
@@ -906,7 +906,7 @@ namespace renderdocui.Windows
string src = "";
if (m_Core.APIProps.pipelineType == GraphicsAPI.D3D11)
if (m_Core.APIProps.pipelineType.IsD3D())
{
src = String.Format(
"float4 main(float4 pos : SV_Position, float4 uv : TEXCOORD0) : SV_Target0{0}" +