diff options
author | Matt Turner <[email protected]> | 2018-11-26 11:29:41 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2018-11-27 22:29:53 -0800 |
commit | 1a210268b85fc4e4f3896d41cd889a9f88455542 (patch) | |
tree | 265f266b60bcd9ba0123d8d59e07155f660ef27c /src/compiler/glsl/opt_array_splitting.cpp | |
parent | e113b21cb77976eb527373b50c03235448a83f51 (diff) |
nir: Call fflush() at the end of nir_print_shader()
We normally call with stderr which is unbuffered, so this won't affect
that, but it does let me call nir_print_shader(nir, fopen("log", "w+"))
from gdb and actually get the whole shader in my file.
Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'src/compiler/glsl/opt_array_splitting.cpp')
0 files changed, 0 insertions, 0 deletions