[D3D12] Vertex kill and multipass vertex exports

This commit is contained in:
Triang3l
2020-02-20 08:55:40 +03:00
parent bb13103102
commit 1336316139
23 changed files with 1959 additions and 1611 deletions

View File

@@ -1285,7 +1285,8 @@ void ShaderTranslator::ParseAluVectorOperation(const AluInstruction& op,
i.vector_result.storage_target = InstructionStorageTarget::kPosition;
break;
case 63:
i.vector_result.storage_target = InstructionStorageTarget::kPointSize;
i.vector_result.storage_target =
InstructionStorageTarget::kPointSizeEdgeFlagKillVertex;
break;
default:
if (dest_num < 16) {
@@ -1453,7 +1454,8 @@ void ShaderTranslator::ParseAluScalarOperation(const AluInstruction& op,
i.scalar_result.storage_target = InstructionStorageTarget::kPosition;
break;
case 63:
i.scalar_result.storage_target = InstructionStorageTarget::kPointSize;
i.scalar_result.storage_target =
InstructionStorageTarget::kPointSizeEdgeFlagKillVertex;
break;
default:
if (dest_num < 16) {