mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
panfrost: Extend compile_inputs to pass a blend descriptor
This is needed for BLEND instructions used from a blend shader so we can store the result of the shader-based blending back to the tile buffer. We let the gallium driver build this blend descriptor for us in order to keep the compiler cmdstream-agnostic. Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7151>
This commit is contained in:
parent
d8326ceafb
commit
6c61f0b8e5
1 changed files with 1 additions and 0 deletions
|
|
@ -110,6 +110,7 @@ struct panfrost_compile_inputs {
|
|||
struct {
|
||||
unsigned rt;
|
||||
float constants[4];
|
||||
uint64_t bifrost_blend_desc;
|
||||
} blend;
|
||||
bool shaderdb;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue