Skip to content

Commit

Permalink
[dxso] Remove OpCross path for cross products
Browse files Browse the repository at this point in the history
  • Loading branch information
doitsujin committed Nov 10, 2024
1 parent f6f211f commit e7b60a5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/dxso/dxso_compiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1455,9 +1455,6 @@ namespace dxvk {
DxsoRegisterValue b) {
uint32_t typeId = getVectorTypeId(a.type);

if (m_moduleInfo.options.d3d9FloatEmulation != D3D9FloatEmulation::Strict)
return {a.type, m_module.opCross(typeId, a.id, b.id)};

const std::array<uint32_t, 4> shiftIndices = { 1, 2, 0, 1 };

DxsoRegisterValue result;
Expand Down

0 comments on commit e7b60a5

Please sign in to comment.