diff options
author | Jason Ekstrand <[email protected]> | 2018-07-31 11:31:22 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2018-08-01 18:02:28 -0700 |
commit | 4e060385e9c46892535d2d62313d5e53f175c0f5 (patch) | |
tree | a9b9f4c605be9236314f6c4551ad4b7dcb094677 /src | |
parent | 70c34a1bd2f737ac22ce0687b972f731d0f69f13 (diff) |
intel/nir: Use the correct scalar stage for consumers when linking
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/intel/compiler/brw_nir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/compiler/brw_nir.c b/src/intel/compiler/brw_nir.c index 5990427b731..17ccfa48af6 100644 --- a/src/intel/compiler/brw_nir.c +++ b/src/intel/compiler/brw_nir.c @@ -730,7 +730,7 @@ brw_nir_link_shaders(const struct brw_compiler *compiler, *producer = brw_nir_optimize(*producer, compiler, p_is_scalar); const bool c_is_scalar = - compiler->scalar_stage[(*producer)->info.stage]; + compiler->scalar_stage[(*consumer)->info.stage]; *consumer = brw_nir_optimize(*consumer, compiler, c_is_scalar); } } |