diff options
author | Jason Ekstrand <[email protected]> | 2019-06-04 18:23:17 -0500 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2019-06-05 20:07:28 +0000 |
commit | 811c05dfe6189cabc6d8aa547a3463778f2d5249 (patch) | |
tree | 946a13c16f870c762406f7b80b8f08471a0f5f0a /src/intel/compiler/brw_nir.h | |
parent | bb67a99a2dfcf7258498ce868020feacd3d1fc15 (diff) |
intel/nir: Take nir_shader*s in brw_nir_link_shaders
Since NIR_PASS no longer swaps out the NIR pointer when NIR_TEST_* is
enabled, we can just take a single pointer and not a pointer to pointer.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_nir.h')
-rw-r--r-- | src/intel/compiler/brw_nir.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/compiler/brw_nir.h b/src/intel/compiler/brw_nir.h index 82c260ae533..895b63bc497 100644 --- a/src/intel/compiler/brw_nir.h +++ b/src/intel/compiler/brw_nir.h @@ -98,7 +98,7 @@ void brw_preprocess_nir(const struct brw_compiler *compiler, void brw_nir_link_shaders(const struct brw_compiler *compiler, - nir_shader **producer, nir_shader **consumer); + nir_shader *producer, nir_shader *consumer); bool brw_nir_lower_cs_intrinsics(nir_shader *nir, unsigned dispatch_width); |