(WIP) SPIR-V Shader Translator

This commit is contained in:
Dr. Chat
2016-02-20 18:44:37 -06:00
parent b5a0c4715b
commit 4aff1c19a7
4 changed files with 918 additions and 58 deletions

View File

@@ -78,6 +78,9 @@ class ShaderTranslator {
shader->host_disassembly_ = std::move(value);
}
// Pre-process a control-flow instruction before anything else.
virtual void PreProcessControlFlowInstruction(uint32_t cf_index) {}
// Handles translation for control flow label addresses.
// This is triggered once for each label required (due to control flow
// operations) before any of the instructions within the target exec.