mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
panfrost: Add message preload to pan_shader_info
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10967>
This commit is contained in:
parent
821b80d68a
commit
5f8778a583
2 changed files with 6 additions and 0 deletions
|
|
@ -147,6 +147,9 @@ pan_shader_prepare_bifrost_rsd(const struct panfrost_device *dev,
|
|||
info->fs.reads_sample_mask_in |
|
||||
info->fs.reads_helper_invocation |
|
||||
info->fs.sample_shading;
|
||||
|
||||
rsd->message_preload_1 = info->bifrost.messages[0];
|
||||
rsd->message_preload_2 = info->bifrost.messages[1];
|
||||
break;
|
||||
|
||||
case MESA_SHADER_COMPUTE:
|
||||
|
|
|
|||
|
|
@ -151,6 +151,9 @@ struct bifrost_shader_info {
|
|||
struct bifrost_shader_blend_info blend[8];
|
||||
nir_alu_type blend_src1_type;
|
||||
bool wait_6, wait_7;
|
||||
|
||||
/* Packed, preloaded message descriptors */
|
||||
uint16_t messages[2];
|
||||
};
|
||||
|
||||
struct midgard_shader_info {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue