diff options
author | Francisco Jerez <[email protected]> | 2020-04-02 17:16:45 -0700 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2020-04-28 23:01:27 -0700 |
commit | d6aa0c261f2d9ccacaa6579432c16c61ca4cb073 (patch) | |
tree | b1f2168c950e708fadedd6a8ed3c3dc673f66b0d /src/intel/compiler/test_fs_saturate_propagation.cpp | |
parent | 188a3659aea6dec9acf1c2fd15fcaecffe4f7d4e (diff) |
intel/fs: Heap-allocate fs_visitors in brw_compile_fs().
This makes brw_compile_fs() look a bit more similar to
brw_compile_cs(). It saves us three v*_shader_stats local variables,
and will save us additional triplicated declarations as we start
tracking IR performance analysis results.
The triplicated cfg pointers are left around because they're set to
NULL to mark specific dispatch modes as disabled (e.g. in order to
enforce hardware restrictions). Doing the same thing with the visitor
pointers would cause data leaks.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel/compiler/test_fs_saturate_propagation.cpp')
0 files changed, 0 insertions, 0 deletions