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:
@@ -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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user