mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 06:20:09 +01:00
mesa: remove MESA_GLSL=opt
This is unused. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com> Reviewed-by: Emil Velikov <emli.velikov@collabora.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
2caa3aa1f4
commit
3e524cfa47
4 changed files with 8 additions and 11 deletions
|
|
@ -62,6 +62,7 @@ Note: some of the new features are only available with certain drivers.
|
|||
<li>The configure option --enable-gallium-llvm is superseded by --enable-llvm.</li>
|
||||
<li>The swr driver now requires LLVM >= 3.9.0.</li>
|
||||
<li>The radeonsi driver now requires LLVM 3.8.0.</li>
|
||||
<li>The MESA_GLSL=opt and MESA_GLSL=no_opt environment vars have been removed.</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -50,7 +50,6 @@ execution. These are generally used for debugging.
|
|||
The filenames will be "shader_X.vert" or "shader_X.frag" where X
|
||||
the shader ID.
|
||||
<li><b>cache_info</b> - print debug information about shader cache
|
||||
<li><b>opt</b> - force compiler optimizations
|
||||
<li><b>uniform</b> - print message to stdout when glUniform is called
|
||||
<li><b>nopvert</b> - force vertex shaders to be a simple shader that just transforms
|
||||
the vertex position with ftransform() and passes through the color and
|
||||
|
|
|
|||
|
|
@ -2882,14 +2882,13 @@ struct gl_shader_program
|
|||
|
||||
#define GLSL_DUMP 0x1 /**< Dump shaders to stdout */
|
||||
#define GLSL_LOG 0x2 /**< Write shaders to files */
|
||||
#define GLSL_OPT 0x4 /**< Force optimizations (override pragmas) */
|
||||
#define GLSL_UNIFORMS 0x8 /**< Print glUniform calls */
|
||||
#define GLSL_NOP_VERT 0x10 /**< Force no-op vertex shaders */
|
||||
#define GLSL_NOP_FRAG 0x20 /**< Force no-op fragment shaders */
|
||||
#define GLSL_USE_PROG 0x40 /**< Log glUseProgram calls */
|
||||
#define GLSL_REPORT_ERRORS 0x80 /**< Print compilation errors */
|
||||
#define GLSL_DUMP_ON_ERROR 0x100 /**< Dump shaders to stderr on compile error */
|
||||
#define GLSL_CACHE_INFO 0x200 /**< Print debug information about shader cache */
|
||||
#define GLSL_UNIFORMS 0x4 /**< Print glUniform calls */
|
||||
#define GLSL_NOP_VERT 0x8 /**< Force no-op vertex shaders */
|
||||
#define GLSL_NOP_FRAG 0x10 /**< Force no-op fragment shaders */
|
||||
#define GLSL_USE_PROG 0x20 /**< Log glUseProgram calls */
|
||||
#define GLSL_REPORT_ERRORS 0x40 /**< Print compilation errors */
|
||||
#define GLSL_DUMP_ON_ERROR 0x80 /**< Dump shaders to stderr on compile error */
|
||||
#define GLSL_CACHE_INFO 0x100 /**< Print debug information about shader cache */
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -83,8 +83,6 @@ _mesa_get_shader_flags(void)
|
|||
flags |= GLSL_NOP_VERT;
|
||||
if (strstr(env, "nopfrag"))
|
||||
flags |= GLSL_NOP_FRAG;
|
||||
else if (strstr(env, "opt"))
|
||||
flags |= GLSL_OPT;
|
||||
if (strstr(env, "uniform"))
|
||||
flags |= GLSL_UNIFORMS;
|
||||
if (strstr(env, "useprog"))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue