diff --git a/src/amd/vulkan/radv_shader.c b/src/amd/vulkan/radv_shader.c index 3de836c5f71..e0fc13ba470 100644 --- a/src/amd/vulkan/radv_shader.c +++ b/src/amd/vulkan/radv_shader.c @@ -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) diff --git a/src/amd/vulkan/radv_shader.h b/src/amd/vulkan/radv_shader.h index ef9a9ec1ea6..5837e3df2be 100644 --- a/src/amd/vulkan/radv_shader.h +++ b/src/amd/vulkan/radv_shader.h @@ -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;