[GPU] Shader ALU refactoring + documentation

Mainly move instruction info from the ShaderTranslator to xe::gpu::ucode for future use in the CPU shader interpreter
This commit is contained in:
Triang3l
2022-04-27 20:52:20 +03:00
parent df9a37f798
commit b42680abf7
6 changed files with 229 additions and 193 deletions

View File

@@ -2264,7 +2264,7 @@ bool SpirvShaderTranslator::ProcessVectorAluOperation(
close_predicated_block = false;
if (!instr.vector_and_constant_result.GetUsedWriteMask() &&
!AluVectorOpHasSideEffects(instr.vector_opcode)) {
!ucode::GetAluVectorOpcodeInfo(instr.vector_opcode).changed_state) {
return false;
}