panfrost: Remove blend shader hack

This is no longer used.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
Alyssa Rosenzweig 2019-11-30 13:24:46 -05:00 committed by Tomeu Vizoso
parent c707b4d0f9
commit 71dd52e056
2 changed files with 1 additions and 5 deletions

View file

@ -175,9 +175,6 @@ panfrost_compile_blend_shader(
midgard_program program;
midgard_compile_shader_nir(shader, &program, true, screen->gpu_id);
/* At least two work registers are needed due to an encoding quirk */
res.work_count = MAX2(program.work_register_count, 2);
/* Allow us to patch later */
res.patch_index = program.blend_patch_offset;
res.first_tag = program.first_tag;

View file

@ -436,8 +436,7 @@ union midgard_blend {
struct midgard_blend_rt {
/* Flags base value of 0x200 to enable the render target.
* OR with 0x1 for blending (anything other than REPLACE).
* OR with 0x2 for programmable blending with 0-2 registers
* OR with 0x3 for programmable blending with 2+ registers
* OR with 0x2 for programmable blending
* OR with MALI_BLEND_SRGB for implicit sRGB
*/