diff options
author | Timothy Arceri <[email protected]> | 2018-03-05 12:04:47 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2018-03-05 14:09:23 +1100 |
commit | 561503e3bd9fb800765b694092fecb97de92e192 (patch) | |
tree | 112e5030f65a7a3f9a5cb3a42fff2d033e5710fb /src/gallium/drivers/radeonsi/si_compute.c | |
parent | 0f2c7341e8fc0ea5bb219a24a7120bd4c79bd3d6 (diff) |
radeonsi: add chip class to compiler_ctx_state
This will be used in the following patch.
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_compute.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_compute.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_compute.c b/src/gallium/drivers/radeonsi/si_compute.c index 41927988cf0..e9b61271151 100644 --- a/src/gallium/drivers/radeonsi/si_compute.c +++ b/src/gallium/drivers/radeonsi/si_compute.c @@ -186,6 +186,7 @@ static void *si_create_compute_state( program->ir.nir = (struct nir_shader *) cso->prog; } + program->compiler_ctx_state.chip_class = sctx->b.chip_class; program->compiler_ctx_state.debug = sctx->debug; program->compiler_ctx_state.is_debug_context = sctx->is_debug; p_atomic_inc(&sscreen->num_shaders_created); |