mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
i915: Force lowering of all types of indirect array accesses in the FS
NOTE: This is a candidate for the 7.9 and 7.10 branches.
(cherry picked from commit 4c1dc1c4d7)
This commit is contained in:
parent
24a9d95ec7
commit
9fe29f34f3
1 changed files with 10 additions and 2 deletions
|
|
@ -192,8 +192,16 @@ i915CreateContext(int api,
|
|||
* FINISHME: vertex shaders?
|
||||
*/
|
||||
ctx->ShaderCompilerOptions[MESA_SHADER_VERTEX].EmitCondCodes = GL_TRUE;
|
||||
ctx->ShaderCompilerOptions[MESA_SHADER_FRAGMENT].EmitNoIfs = GL_TRUE;
|
||||
ctx->ShaderCompilerOptions[MESA_SHADER_FRAGMENT].EmitNoNoise = GL_TRUE;
|
||||
|
||||
struct gl_shader_compiler_options *const fs_options =
|
||||
& ctx->ShaderCompilerOptions[MESA_SHADER_FRAGMENT];
|
||||
fs_options->EmitNoIfs = GL_TRUE;
|
||||
fs_options->EmitNoNoise = GL_TRUE;
|
||||
fs_options->EmitNoMainReturn = GL_TRUE;
|
||||
fs_options->EmitNoIndirectInput = GL_TRUE;
|
||||
fs_options->EmitNoIndirectOutput = GL_TRUE;
|
||||
fs_options->EmitNoIndirectUniform = GL_TRUE;
|
||||
fs_options->EmitNoIndirectTemp = GL_TRUE;
|
||||
|
||||
ctx->Const.MaxDrawBuffers = 1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue