mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
radv: remove unused ballot_bit_size from shader info
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37294>
This commit is contained in:
parent
2cda56e8b7
commit
c4cdbee2e6
2 changed files with 0 additions and 12 deletions
|
|
@ -502,16 +502,6 @@ radv_get_wave_size(struct radv_device *device, mesa_shader_stage stage, const st
|
||||||
return pdev->ge_wave_size;
|
return pdev->ge_wave_size;
|
||||||
}
|
}
|
||||||
|
|
||||||
static uint8_t
|
|
||||||
radv_get_ballot_bit_size(struct radv_device *device, mesa_shader_stage stage, const struct radv_shader_info *info,
|
|
||||||
const struct radv_shader_stage_key *stage_key)
|
|
||||||
{
|
|
||||||
if (stage_key->subgroup_required_size)
|
|
||||||
return stage_key->subgroup_required_size * 32;
|
|
||||||
|
|
||||||
return 64;
|
|
||||||
}
|
|
||||||
|
|
||||||
static uint32_t
|
static uint32_t
|
||||||
radv_compute_esgs_itemsize(const struct radv_device *device, uint32_t num_varyings)
|
radv_compute_esgs_itemsize(const struct radv_device *device, uint32_t num_varyings)
|
||||||
{
|
{
|
||||||
|
|
@ -1191,7 +1181,6 @@ radv_nir_shader_info_pass(struct radv_device *device, const struct nir_shader *n
|
||||||
}
|
}
|
||||||
|
|
||||||
info->wave_size = radv_get_wave_size(device, nir->info.stage, info, stage_key);
|
info->wave_size = radv_get_wave_size(device, nir->info.stage, info, stage_key);
|
||||||
info->ballot_bit_size = radv_get_ballot_bit_size(device, nir->info.stage, info, stage_key);
|
|
||||||
|
|
||||||
switch (nir->info.stage) {
|
switch (nir->info.stage) {
|
||||||
case MESA_SHADER_COMPUTE:
|
case MESA_SHADER_COMPUTE:
|
||||||
|
|
|
||||||
|
|
@ -89,7 +89,6 @@ struct radv_shader_info {
|
||||||
bool uses_invocation_id;
|
bool uses_invocation_id;
|
||||||
bool uses_prim_id;
|
bool uses_prim_id;
|
||||||
uint8_t wave_size;
|
uint8_t wave_size;
|
||||||
uint8_t ballot_bit_size;
|
|
||||||
struct radv_userdata_locations user_sgprs_locs;
|
struct radv_userdata_locations user_sgprs_locs;
|
||||||
bool is_ngg;
|
bool is_ngg;
|
||||||
bool is_ngg_passthrough;
|
bool is_ngg_passthrough;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue