Added few more stubs so that control reaches to DestroyDevice().
[mesa.git] / src / compiler / glsl / standalone.cpp
index 9a7f7d58ed6fcf4909d33a94a5a68732c133d984..ca18700118665f068d394fa3c86848d0eef20bc9 100644 (file)
@@ -438,7 +438,10 @@ standalone_compile_shader(const struct standalone_options *_options,
       for (unsigned i = MESA_SHADER_VERTEX; i <= MESA_SHADER_FRAGMENT; i++) {
          struct gl_shader_compiler_options *options =
             &ctx->Const.ShaderCompilerOptions[i];
-         options->LowerPrecision = true;
+         options->LowerPrecisionFloat16 = true;
+         options->LowerPrecisionInt16 = true;
+         options->LowerPrecisionDerivatives = true;
+         options->LowerPrecisionConstants = true;
       }
    }