summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-06-08 20:05:09 +0200
committerNicolai Hähnle <[email protected]>2017-07-31 14:55:37 +0200
commit7763c7b2bad153e1d7527cf361f85f7c8ccfdae6 (patch)
tree5daf75fd71304ba1f70f4295880220614a7aeff7 /src/gallium
parenta6f597536d4f03e0c2ac0311963dbcdcb3c6a97d (diff)
ac/nir,radeonsi: add ac_shader_abi::chip_class
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/radeonsi/si_shader.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c
index 5fb820693de..090ec8313ed 100644
--- a/src/gallium/drivers/radeonsi/si_shader.c
+++ b/src/gallium/drivers/radeonsi/si_shader.c
@@ -5494,6 +5494,8 @@ static void si_init_shader_ctx(struct si_shader_context *ctx,
{
struct lp_build_tgsi_context *bld_base;
+ ctx->abi.chip_class = sscreen->b.chip_class;
+
si_llvm_context_init(ctx, sscreen, tm);
bld_base = &ctx->bld_base;