DX11 accumulation shadergen fix.

This commit is contained in:
rextimmy 2016-06-09 15:23:54 +10:00
parent b1b235a4c3
commit ddfa4eaf18

View file

@ -65,7 +65,11 @@ void AccuTexFeatHLSL::processPix( Vector<ShaderComponent*> &componentList,
// accu map
Var *accuMap = new Var;
accuMap->setType( "sampler2D" );
if (mIsDirect3D11)
accuMap->setType("SamplerState");
else
accuMap->setType("sampler2D");
accuMap->setName( "accuMap" );
accuMap->uniform = true;
accuMap->sampler = true;