mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-23 06:08:19 +00:00
Extract command line #defines to fxc, roll them in when editing shaders
This commit is contained in:
1 parent
37c1cbffd9
commit
c0be5552e8
2 files changed
+48
No files matched your search
@@ -1962,6 +1962,9 @@ namespace renderdocui.Windows.PipelineState
|
||||
offs = compileSource.IndexOf("#include");
|
||||
}
|
||||
|
||||
if (updatedfiles.ContainsKey("@cmdline"))
|
||||
compileSource = updatedfiles["@cmdline"] + "\n\n" + compileSource;
|
||||
|
||||
// invoke off to the ReplayRenderer to replace the log's shader
|
||||
// with our edited one
|
||||
m_Core.Renderer.BeginInvoke((ReplayRenderer r) =>
|
||||
|
||||
Reference in new issue
Block a user