panfrost/midgard: Use unsigned blend patch offset

We would like the offset field to be unsigned, letting 0 represent "no
offset" and positive represent an offset.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
Alyssa Rosenzweig
2019-07-05 16:51:30 -07:00
parent 6def428f10
commit c9af7701d1
@@ -2551,7 +2551,7 @@ midgard_compile_shader_nir(nir_shader *nir, midgard_program *program, bool is_bl
.stage = nir->info.stage,
.is_blend = is_blend,
.blend_constant_offset = -1,
.blend_constant_offset = 0,
.alpha_ref = program->alpha_ref
};