diff options
author | Marek Olšák <marek.olsak@amd.com> | 2020-01-03 23:15:27 -0500 |
---|---|---|
committer | Marek Olšák <marek.olsak@amd.com> | 2020-01-06 15:57:20 -0500 |
commit | 420fe1e7f9ef56177c8f45e98e057488a2b57646 (patch) | |
tree | b672598dfc95bc48449817d7f87951204a7c45ab /src/gallium/drivers/radeonsi/si_pipe.c | |
parent | e5167a9276de1f383888714b41d3a9be2b9c1da9 (diff) |
radeonsi: remove TGSI
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pipe.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c index 2e3232d1cf0..755c768fb0b 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.c +++ b/src/gallium/drivers/radeonsi/si_pipe.c @@ -660,7 +660,7 @@ static struct pipe_context *si_create_context(struct pipe_screen *screen, } uint64_t max_threads_per_block; - screen->get_compute_param(screen, PIPE_SHADER_IR_TGSI, + screen->get_compute_param(screen, PIPE_SHADER_IR_NIR, PIPE_COMPUTE_CAP_MAX_THREADS_PER_BLOCK, &max_threads_per_block); @@ -910,10 +910,6 @@ static void si_disk_cache_create(struct si_screen *sscreen) /* These flags affect shader compilation. */ #define ALL_FLAGS (DBG(SI_SCHED) | DBG(GISEL)) uint64_t shader_debug_flags = sscreen->debug_flags & ALL_FLAGS; - /* Reserve left-most bit for tgsi/nir selector */ - assert(!(shader_debug_flags & (1u << 31))); - shader_debug_flags |= (uint32_t) - ((sscreen->options.enable_nir & 0x1) << 31); /* Add the high bits of 32-bit addresses, which affects * how 32-bit addresses are expanded to 64 bits. |