mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
radeonsi: remove references to Evergreen
This commit is contained in:
parent
1542169a4a
commit
fb28bf23db
4 changed files with 2 additions and 4 deletions
|
|
@ -957,7 +957,6 @@ void si_init_compute_functions(struct si_context *sctx)
|
|||
sctx->b.create_compute_state = si_create_compute_state;
|
||||
sctx->b.delete_compute_state = si_delete_compute_state;
|
||||
sctx->b.bind_compute_state = si_bind_compute_state;
|
||||
/* ctx->context.create_sampler_view = evergreen_compute_create_sampler_view; */
|
||||
sctx->b.set_compute_resources = si_set_compute_resources;
|
||||
sctx->b.set_global_binding = si_set_global_binding;
|
||||
sctx->b.launch_grid = si_launch_grid;
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ static void si_dma_emit_wait_idle(struct si_context *sctx)
|
|||
{
|
||||
struct radeon_cmdbuf *cs = sctx->dma_cs;
|
||||
|
||||
/* NOP waits for idle on Evergreen and later. */
|
||||
/* NOP waits for idle. */
|
||||
if (sctx->chip_class >= CIK)
|
||||
radeon_emit(cs, 0x00000000); /* NOP */
|
||||
else
|
||||
|
|
|
|||
|
|
@ -1182,7 +1182,6 @@ static void si_get_hw_query_params(struct si_context *sctx,
|
|||
break;
|
||||
case PIPE_QUERY_PIPELINE_STATISTICS:
|
||||
{
|
||||
/* Offsets apply to EG+ */
|
||||
static const unsigned offsets[] = {56, 48, 24, 32, 40, 16, 8, 0, 64, 72, 80};
|
||||
params->start_offset = offsets[index];
|
||||
params->end_offset = 88 + offsets[index];
|
||||
|
|
|
|||
|
|
@ -240,7 +240,7 @@ static int si_init_surface(struct si_screen *sscreen,
|
|||
|
||||
if (!is_flushed_depth &&
|
||||
ptex->format == PIPE_FORMAT_Z32_FLOAT_S8X24_UINT) {
|
||||
bpe = 4; /* stencil is allocated separately on evergreen */
|
||||
bpe = 4; /* stencil is allocated separately */
|
||||
} else {
|
||||
bpe = util_format_get_blocksize(ptex->format);
|
||||
assert(util_is_power_of_two_or_zero(bpe));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue