Needed for updating all resident texture descriptors when
dirty_tex_counter changes.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
}
si_set_sampler_view_desc(sctx, sview, sstate, &desc_list[0]);
+ memcpy(&tex_handle->sstate, sstate, sizeof(*sstate));
ctx->delete_sampler_state(ctx, sstate);
tex_handle->desc = si_create_bindless_descriptor(sctx, desc_list,
{
struct si_bindless_descriptor *desc;
struct pipe_sampler_view *view;
+ struct si_sampler_state sstate;
};
struct si_image_handle