mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-23 18:20:30 +01:00
panfrost: Remove blend shader hack
This is no longer used. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
parent
c707b4d0f9
commit
71dd52e056
2 changed files with 1 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
*/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue