mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 22:40:09 +01:00
radv: keep track of SPI_SHADER_COL_FORMAT for PS epilogs
To emit the related register. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20201>
This commit is contained in:
parent
c9f30c4aa0
commit
7de50e4c6c
2 changed files with 3 additions and 0 deletions
|
|
@ -2668,6 +2668,8 @@ radv_create_ps_epilog(struct radv_device *device, const struct radv_ps_epilog_ke
|
|||
if (!epilog)
|
||||
goto fail_create;
|
||||
|
||||
epilog->spi_shader_col_format = key->spi_shader_col_format;
|
||||
|
||||
/* Allocate memory and upload the epilog. */
|
||||
epilog->alloc = radv_alloc_shader_memory(device, epilog->code_size, NULL);
|
||||
if (!epilog->alloc)
|
||||
|
|
|
|||
|
|
@ -516,6 +516,7 @@ struct radv_shader_part {
|
|||
uint32_t rsrc1;
|
||||
uint8_t num_preserved_sgprs;
|
||||
bool nontrivial_divisors;
|
||||
uint32_t spi_shader_col_format;
|
||||
|
||||
struct radv_shader_part_binary *binary;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue