[DXBC] New tfetch: pre-swizzle signs, additive LOD + refactoring

This commit is contained in:
Triang3l
2020-06-06 19:12:34 +03:00
parent 68dd818029
commit 8a64861ec0
43 changed files with 4018 additions and 4903 deletions

View File

@@ -1073,7 +1073,7 @@ void SpirvShaderTranslator::ProcessCallInstruction(
// Unused instruction(?)
assert_always();
EmitUnimplementedTranslationError();
EmitTranslationError("call is unimplemented", false);
assert_true(cf_blocks_.size() > instr.dword_index + 1);
b.createBranch(cf_blocks_[instr.dword_index + 1].block);
@@ -1088,7 +1088,7 @@ void SpirvShaderTranslator::ProcessReturnInstruction(
// Unused instruction(?)
assert_always();
EmitUnimplementedTranslationError();
EmitTranslationError("ret is unimplemented", false);
assert_true(cf_blocks_.size() > instr.dword_index + 1);
b.createBranch(cf_blocks_[instr.dword_index + 1].block);