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:
parent
f8dc5612f7
commit
16a3ae52fe
@ -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,
|
||||
|
@ -968,10 +968,6 @@ namespace dxvk {
|
||||
DxbcSystemValue sv,
|
||||
DxbcRegMask mask);
|
||||
|
||||
DxbcRegisterValue emitCsSystemValueLoad(
|
||||
DxbcSystemValue sv,
|
||||
DxbcRegMask mask);
|
||||
|
||||
///////////////////////////////////////////
|
||||
// System value store methods (per shader)
|
||||
void emitVsSystemValueStore(
|
||||
|
Loading…
Reference in New Issue
Block a user