Permalink
Browse files

GSdx-d3d: Remove point sampler from d3d9.

It did nothing.
  • Loading branch information...
lightningterror committed Oct 8, 2018
1 parent c337ab6 commit 0dcd60b524ace36088d88717088829a0a0cadefa
Showing with 3 additions and 5 deletions.
  1. +3 −5 plugins/GSdx/GSTextureFX9.cpp
@@ -137,7 +137,7 @@ void GSDevice9::SetupPS(PSSelector sel, const PSConstantBuffer* cb, PSSamplerSel
if(i == m_ps.end())
{
std::string str[18];
std::string str[17];
str[0] = format("%d", sel.fst);
str[1] = format("%d", sel.wms);
@@ -155,8 +155,7 @@ void GSDevice9::SetupPS(PSSelector sel, const PSConstantBuffer* cb, PSSamplerSel
str[13] = format("%d", sel.date);
str[14] = format("%d", sel.spritehack);
str[15] = format("%d", sel.tcoffsethack);
str[16] = format("%d", sel.point_sampler);
str[17] = format("%d", sel.fmt >> 2);
str[16] = format("%d", sel.fmt >> 2);
D3D_SHADER_MACRO macro[] =
{
@@ -176,8 +175,7 @@ void GSDevice9::SetupPS(PSSelector sel, const PSConstantBuffer* cb, PSSamplerSel
{"PS_DATE", str[13].c_str()},
{"PS_SPRITEHACK", str[14].c_str()},
{"PS_TCOFFSETHACK", str[15].c_str()},
{"PS_POINT_SAMPLER", str[16].c_str()},
{"PS_PAL_FMT", str[17].c_str()},
{"PS_PAL_FMT", str[16].c_str()},
{NULL, NULL},
};

0 comments on commit 0dcd60b

Please sign in to comment.