1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-01 16:24:12 +01:00

[dxbc] Remove emitCsSystemValueLoad

There are no compute shader system values.
This commit is contained in:
Philip Rebohle 2018-09-10 11:50:13 +02:00
parent f8dc5612f7
commit 16a3ae52fe
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99
2 changed files with 0 additions and 16 deletions

View File

@ -5130,7 +5130,6 @@ namespace dxvk {
switch (m_version.type()) {
case DxbcProgramType::VertexShader: return emitVsSystemValueLoad(map.sv, map.regMask);
case DxbcProgramType::PixelShader: return emitPsSystemValueLoad(map.sv, map.regMask);
case DxbcProgramType::ComputeShader: return emitCsSystemValueLoad(map.sv, map.regMask);
default: throw DxvkError(str::format("DxbcCompiler: Unexpected stage: ", m_version.type()));
}
}();
@ -5513,17 +5512,6 @@ namespace dxvk {
}
DxbcRegisterValue DxbcCompiler::emitCsSystemValueLoad(
DxbcSystemValue sv,
DxbcRegMask mask) {
switch (sv) {
default:
throw DxvkError(str::format(
"DxbcCompiler: Unhandled CS SV input: ", sv));
}
}
void DxbcCompiler::emitVsSystemValueStore(
DxbcSystemValue sv,
DxbcRegMask mask,

View File

@ -968,10 +968,6 @@ namespace dxvk {
DxbcSystemValue sv,
DxbcRegMask mask);
DxbcRegisterValue emitCsSystemValueLoad(
DxbcSystemValue sv,
DxbcRegMask mask);
///////////////////////////////////////////
// System value store methods (per shader)
void emitVsSystemValueStore(