freedreno: Misc cleanup

Some whitespace cleanup + comment addition.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8795>
This commit is contained in:
Rob Clark 2021-01-30 09:55:37 -08:00 committed by Marge Bot
parent d550c5780f
commit 6ed94905a6
13 changed files with 36 additions and 35 deletions

View File

@ -225,6 +225,7 @@ ir3_shader_create(struct ir3_compiler *compiler,
ir3_shader_variant(shader, key, false, debug);
}
/* For vertex shaders, also compile initial binning pass shader: */
if (nir->info.stage == MESA_SHADER_VERTEX) {
key.safe_constlen = false;
v = ir3_shader_variant(shader, key, true, debug);