mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-21 05:05:44 +00:00
Add stub HLSL generation for editing D3D shaders that have no source
This commit is contained in:
@@ -2144,11 +2144,8 @@ void D3D12PipelineStateViewer::shaderEdit_clicked()
|
||||
|
||||
if(!hasOrigSource)
|
||||
{
|
||||
QString hlsl = lit("// TODO - generate stub HLSL");
|
||||
|
||||
mainfile = lit("generated.hlsl");
|
||||
|
||||
files[mainfile] = hlsl;
|
||||
files[mainfile] = m_Common.GenerateHLSLStub(shaderDetails, entryFunc);
|
||||
}
|
||||
|
||||
if(files.empty())
|
||||
|
||||
Reference in New Issue
Block a user