diff options
author | Alejandro Piñeiro <[email protected]> | 2018-06-26 16:28:59 +0200 |
---|---|---|
committer | Alejandro Piñeiro <[email protected]> | 2018-07-03 12:37:32 +0200 |
commit | b0712df6cfbc40ce770077a12e7e2beccd692019 (patch) | |
tree | c6c7e27dd27f695e3dfec62492a6991392c4cfb5 /src/amd | |
parent | 995d9937103771d9318124b91adfd20d7c6d5fed (diff) |
compiler/glsl: refactor empty_uniform_block utilities to linker_util
This includes:
* Move the defition of empty_uniform_block to linker_util.h
* Move find_empty_block (with a rename) to linker_util.h
* Refactor some code at linker.cpp to a new method at linker_util.h
(link_util_update_empty_uniform_locations)
So all that code could be used by the GLSL linker and the NIR linker
used for ARB_gl_spirv.
v2: include just "ir_uniform.h" (Timothy Arceri)
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/amd')
0 files changed, 0 insertions, 0 deletions