gallium: remove pipe_compute_state::req_input_mem
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com> Reviewed-by: Jose Maria Casanova Crespo <jmcasanova@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34623>
This commit is contained in:
@@ -413,7 +413,6 @@ void trace_dump_compute_state(const struct pipe_compute_state *state)
|
||||
trace_dump_member_end();
|
||||
|
||||
trace_dump_member(uint, state, static_shared_mem);
|
||||
trace_dump_member(uint, state, req_input_mem);
|
||||
|
||||
trace_dump_struct_end();
|
||||
}
|
||||
|
||||
@@ -301,7 +301,6 @@ impl PipeContext {
|
||||
let state = pipe_compute_state {
|
||||
ir_type: pipe_shader_ir::PIPE_SHADER_IR_NIR,
|
||||
prog: nir.dup_for_driver().cast(),
|
||||
req_input_mem: 0,
|
||||
static_shared_mem: static_local_mem,
|
||||
};
|
||||
unsafe { self.pipe.as_ref().create_compute_state.unwrap()(self.pipe.as_ptr(), &state) }
|
||||
|
||||
@@ -1230,7 +1230,6 @@ struct pipe_compute_state
|
||||
enum pipe_shader_ir ir_type; /**< IR type contained in prog. */
|
||||
const void *prog; /**< Compute program to be executed. */
|
||||
unsigned static_shared_mem; /**< equal to info.shared_size, used for shaders passed as TGSI */
|
||||
unsigned req_input_mem; /**< Required size of the INPUT resource. */
|
||||
};
|
||||
|
||||
struct pipe_compute_state_object_info
|
||||
|
||||
Reference in New Issue
Block a user