Merge pull request #498 from JustSid/master
Added generation of the textureXYZGrad() legacy GLSL instruction
This commit is contained in:
Коммит
29315f3b3f
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче