diff options
author | Tapani Pälli <[email protected]> | 2015-06-29 09:53:45 +0300 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2015-07-01 15:22:40 +0100 |
commit | 4c80d44311cac8bbf61119c46454f212fb42fb40 (patch) | |
tree | 0f38ee968b9dccf66f7e5cd78902b8acad54cf8b /src | |
parent | 8e79cf6ba05539b990a40861ca3a2c1e32fef369 (diff) |
i915: use EmitNoIndirectSampler
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Francisco Jerez <[email protected]>
Cc: "10.5" and "10.6" <[email protected]>
(cherry picked from commit 2dc2b12ed15abb84c7e2b3c2726dcc1b735abcda)
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i915/i915_context.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i915/i915_context.c b/src/mesa/drivers/dri/i915/i915_context.c index 42ea54e087d..57b033c07ea 100644 --- a/src/mesa/drivers/dri/i915/i915_context.c +++ b/src/mesa/drivers/dri/i915/i915_context.c @@ -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; |