diff options
author | Eduardo Lima Mitev <[email protected]> | 2017-11-15 00:29:28 +0100 |
---|---|---|
committer | Alejandro Piñeiro <[email protected]> | 2018-06-21 14:25:05 +0200 |
commit | 3cf12c63175298a806d6fc7b20db9fe2e8059397 (patch) | |
tree | 7d58809b1c07513d58bea344d5395b1175acb7c0 /src/compiler/glsl/shader_cache.h | |
parent | 215c9359ed1e71757b677787fb79aa4009c43605 (diff) |
nir/linker: Add nir_build_program_resource_list()
This function is equivalent to the linker.cpp
build_program_resource_list() but will extract the resources from NIR
shaders instead.
For now, only uniforms and program inputs are implemented.
v2: move from compiler/nir to compiler/glsl (Timothy Arceri)
v3: remove support for inputs, that is still WIP (spotted by Timothy
Arceri)
Signed-off-by: Eduardo Lima <[email protected]>
Signed-off-by: Alejandro Piñeiro <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/compiler/glsl/shader_cache.h')
0 files changed, 0 insertions, 0 deletions