Skip to content
Snippets Groups Projects
Commit 658d0410 authored by Kenneth Graunke's avatar Kenneth Graunke Committed by Ian Romanick
Browse files

meta: Unify the GLSL and fixed-function clear paths.


The majority of _mesa_meta_Clear and _mesa_meta_glsl_Clear was the same;
adding a boolean for whether to use GLSL allows us to share most of it
without polluting either path too much.

Tested for regressions by hacking i965 to always use the non-GLSL path.

Cc: "10.2" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
Reviewed-by: default avatarAnuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: default avatarEric Anholt <eric@anholt.net>
(cherry picked from commit 7c8df60f)
parent a1dd1e62
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment