mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 02:10:11 +01:00
i965: Enable AOS optimizations for the geometry shader.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
4bd6e0d7c6
commit
13100ac142
1 changed files with 1 additions and 0 deletions
|
|
@ -474,6 +474,7 @@ brw_initialize_context_constants(struct brw_context *brw)
|
|||
}
|
||||
|
||||
ctx->ShaderCompilerOptions[MESA_SHADER_VERTEX].OptimizeForAOS = true;
|
||||
ctx->ShaderCompilerOptions[MESA_SHADER_GEOMETRY].OptimizeForAOS = true;
|
||||
|
||||
/* ARB_viewport_array */
|
||||
if (brw->gen >= 7 && ctx->API == API_OPENGL_CORE) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue