mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-23 20:10:36 +01:00
gallium: remove pipe_compute_caps::ir_target
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:
parent
e5775ac0e0
commit
9d73da9155
3 changed files with 0 additions and 8 deletions
|
|
@ -750,10 +750,6 @@ pipe_compute_caps
|
|||
Compute-specific capabilities. They can be queried using
|
||||
pipe_screen::get_compute_param.
|
||||
|
||||
* ``pipe_compute_caps.ir_target``: A description of the target of the form
|
||||
``processor-arch-manufacturer-os`` that will be passed on to the compiler.
|
||||
This CAP is only relevant for drivers that specify PIPE_SHADER_IR_NATIVE for
|
||||
their preferred IR.
|
||||
* ``pipe_compute_caps.grid_dimension``: Number of supported dimensions
|
||||
for grid and block coordinates.
|
||||
* ``pipe_compute_caps.max_grid_size``: Maximum grid size in block
|
||||
|
|
|
|||
|
|
@ -972,9 +972,6 @@ void si_init_compute_caps(struct si_screen *sscreen)
|
|||
struct pipe_compute_caps *caps =
|
||||
(struct pipe_compute_caps *)&sscreen->b.compute_caps;
|
||||
|
||||
snprintf(caps->ir_target, sizeof(caps->ir_target), "%s-amdgcn-mesa-mesa3d",
|
||||
ac_get_llvm_processor_name(sscreen->info.family));
|
||||
|
||||
caps->grid_dimension = 3;
|
||||
|
||||
/* Use this size, so that internal counters don't overflow 64 bits. */
|
||||
|
|
|
|||
|
|
@ -806,7 +806,6 @@ struct pipe_compute_caps {
|
|||
unsigned max_variable_threads_per_block;
|
||||
uint64_t max_mem_alloc_size;
|
||||
uint64_t max_global_size;
|
||||
char ir_target[32];
|
||||
bool images_supported;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue