mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
i915: use EmitNoIndirectSampler
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Cc: "10.5" and "10.6" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit 2dc2b12ed1)
This commit is contained in:
parent
8e79cf6ba0
commit
4c80d44311
1 changed files with 3 additions and 0 deletions
|
|
@ -255,6 +255,8 @@ i915CreateContext(int api,
|
|||
* FINISHME: vertex shaders?
|
||||
*/
|
||||
ctx->Const.ShaderCompilerOptions[MESA_SHADER_VERTEX].EmitCondCodes = true;
|
||||
ctx->Const.ShaderCompilerOptions[MESA_SHADER_VERTEX].EmitNoIndirectSampler =
|
||||
true;
|
||||
|
||||
struct gl_shader_compiler_options *const fs_options =
|
||||
& ctx->Const.ShaderCompilerOptions[MESA_SHADER_FRAGMENT];
|
||||
|
|
@ -266,6 +268,7 @@ i915CreateContext(int api,
|
|||
fs_options->EmitNoIndirectOutput = true;
|
||||
fs_options->EmitNoIndirectUniform = true;
|
||||
fs_options->EmitNoIndirectTemp = true;
|
||||
fs_options->EmitNoIndirectSampler = true;
|
||||
|
||||
ctx->Const.MaxDrawBuffers = 1;
|
||||
ctx->Const.QueryCounterBits.SamplesPassed = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue