Added generation of the textureXYZGrad() legacy GLSL instruction

This commit is contained in:
Sidney Just 2018-03-12 00:59:06 +10:00
parent 0f9cb0da0d
commit e66fd6c2a0

View File

@ -3384,6 +3384,8 @@ string CompilerGLSL::legacy_tex_op(const std::string &op, const SPIRType &imgtyp
}
else if (op == "textureProj")
return join("texture", type, "Proj");
else if (op == "textureGrad")
return join("texture", type, "Grad");
else if (op == "textureProjLod")
{
if (use_explicit_lod)