diff options
author | Connor Abbott <[email protected]> | 2014-07-30 15:20:53 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-01-15 07:18:58 -0800 |
commit | dbb76421dabfb1c6f79efc873baa8e21154d3dc0 (patch) | |
tree | 1a66cc738d92483becc5221a7c4e78fa499a206b /src/glsl/nir/nir.h | |
parent | 98fa28bff78b469b8539816e6bfdb02d8ac6032a (diff) |
nir: add a validation pass
This is similar to ir_validate.cpp.
v2: Jason Ekstrand <[email protected]>:
whitespace fixes
Diffstat (limited to 'src/glsl/nir/nir.h')
-rw-r--r-- | src/glsl/nir/nir.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/nir/nir.h b/src/glsl/nir/nir.h index 4b1f162964f..00f5f489cb7 100644 --- a/src/glsl/nir/nir.h +++ b/src/glsl/nir/nir.h @@ -1240,6 +1240,8 @@ void nir_index_blocks(nir_function_impl *impl); void nir_print_shader(nir_shader *shader, FILE *fp); +void nir_validate_shader(nir_shader *shader); + #ifdef __cplusplus } /* extern "C" */ #endif |