Give the mip bias its own uniform flag.

This commit is contained in:
Henrik Rydgård
2022-07-31 10:43:12 +02:00
parent 0caaa74be9
commit c158414858
7 changed files with 12 additions and 6 deletions
+1 -1
View File
@@ -348,7 +348,7 @@ bool GenerateFragmentShader(const FShaderID &id, char *buffer, const ShaderLangu
}
if (texture3D) {
*uniformMask |= DIRTY_TEXCLAMP;
*uniformMask |= DIRTY_MIPBIAS;
WRITE(p, "uniform float u_mipBias;\n");
}