diff options
author | Edward O'Callaghan <[email protected]> | 2015-12-06 18:37:49 +1100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-12-06 11:52:16 +0100 |
commit | 7e43a280793af50e826fb6183670de8e3d427d74 (patch) | |
tree | 44803f7aec0b71810e39f5b330e315e8a9fe7220 /src/gallium/drivers/radeonsi/si_compute.c | |
parent | 0ef5c8ab7405fcc76b23393d4414f46cc9edb1fc (diff) |
gallium/radeon*: Remove useless casts
These are unnecessary and are likely just left overs from prior
work.
Signed-off-by: Edward O'Callaghan <[email protected]>
Signed-off-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_compute.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_compute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_compute.c b/src/gallium/drivers/radeonsi/si_compute.c index e134b37b95d..a871ea0d5b6 100644 --- a/src/gallium/drivers/radeonsi/si_compute.c +++ b/src/gallium/drivers/radeonsi/si_compute.c @@ -76,7 +76,7 @@ static void init_scratch_buffer(struct si_context *sctx, struct si_compute *prog if (scratch_bytes == 0) return; - program->shader.scratch_bo = (struct r600_resource*) + program->shader.scratch_bo = si_resource_create_custom(sctx->b.b.screen, PIPE_USAGE_DEFAULT, scratch_bytes * scratch_waves); |