panfrost: Remove unused req_input_mem copy
Cloverism. Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19363>
This commit is contained in:
committed by
Marge Bot
parent
78f7128dad
commit
ea45460f55
@@ -312,10 +312,8 @@ struct panfrost_shader_state {
|
||||
struct panfrost_shader_variants {
|
||||
nir_shader *nir;
|
||||
|
||||
union {
|
||||
struct pipe_stream_output_info stream_output;
|
||||
unsigned req_input_mem;
|
||||
};
|
||||
/* Stream output information */
|
||||
struct pipe_stream_output_info stream_output;
|
||||
|
||||
/** Lock for the variants array */
|
||||
simple_mtx_t lock;
|
||||
|
||||
@@ -411,9 +411,7 @@ panfrost_create_compute_state(
|
||||
const struct pipe_compute_state *cso)
|
||||
{
|
||||
struct panfrost_context *ctx = pan_context(pctx);
|
||||
|
||||
struct panfrost_shader_variants *so = CALLOC_STRUCT(panfrost_shader_variants);
|
||||
so->req_input_mem = cso->req_input_mem;
|
||||
|
||||
struct panfrost_shader_state *v = calloc(1, sizeof(*v));
|
||||
so->variants = v;
|
||||
|
||||
Reference in New Issue
Block a user