mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
Remove unnecessary cast
This commit is contained in:
parent
b5e3599704
commit
6e7e767645
1 changed files with 1 additions and 3 deletions
|
@ -266,9 +266,7 @@ void JitShader::Compile_DestEnable(Instruction instr, Xmm src) {
|
||||||
|
|
||||||
SwizzlePattern swiz = {g_state.vs.swizzle_data[operand_desc_id]};
|
SwizzlePattern swiz = {g_state.vs.swizzle_data[operand_desc_id]};
|
||||||
|
|
||||||
int dest_offset_disp = (int)UnitState<false>::OutputOffset(dest);
|
size_t dest_offset_disp = UnitState<false>::OutputOffset(dest);
|
||||||
ASSERT_MSG(dest_offset_disp == UnitState<false>::OutputOffset(dest),
|
|
||||||
"Destinaton offset too large for int type");
|
|
||||||
|
|
||||||
// If all components are enabled, write the result to the destination register
|
// If all components are enabled, write the result to the destination register
|
||||||
if (swiz.dest_mask == NO_DEST_REG_MASK) {
|
if (swiz.dest_mask == NO_DEST_REG_MASK) {
|
||||||
|
|
Loading…
Reference in a new issue