1
0
Fork 0
forked from suyu/suyu

maxwell_dma: remove warnings from implemented functionality

This commit is contained in:
Liam 2022-09-03 21:02:02 -04:00 committed by Fernando Sahmkow
parent ca3db0d7c9
commit aedd739631

View file

@ -133,7 +133,6 @@ void MaxwellDMA::CopyBlockLinearToPitch() {
} }
// Deswizzle the input and copy it over. // Deswizzle the input and copy it over.
UNIMPLEMENTED_IF(regs.launch_dma.remap_enable != 0);
const Parameters& src_params = regs.src_params; const Parameters& src_params = regs.src_params;
const u32 num_remap_components = regs.remap_const.num_dst_components_minus_one + 1; const u32 num_remap_components = regs.remap_const.num_dst_components_minus_one + 1;
@ -182,7 +181,6 @@ void MaxwellDMA::CopyBlockLinearToPitch() {
void MaxwellDMA::CopyPitchToBlockLinear() { void MaxwellDMA::CopyPitchToBlockLinear() {
UNIMPLEMENTED_IF_MSG(regs.dst_params.block_size.width != 0, "Block width is not one"); UNIMPLEMENTED_IF_MSG(regs.dst_params.block_size.width != 0, "Block width is not one");
UNIMPLEMENTED_IF(regs.dst_params.layer != 0); UNIMPLEMENTED_IF(regs.dst_params.layer != 0);
UNIMPLEMENTED_IF(regs.launch_dma.remap_enable != 0);
const bool is_remapping = regs.launch_dma.remap_enable != 0; const bool is_remapping = regs.launch_dma.remap_enable != 0;
const u32 num_remap_components = regs.remap_const.num_dst_components_minus_one + 1; const u32 num_remap_components = regs.remap_const.num_dst_components_minus_one + 1;