mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 21:10:42 +00:00
Support HLSL custom display shaders on D3D12
This commit is contained in:
@@ -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}" +
|
||||
|
||||
Reference in New Issue
Block a user