diff options
author | Timothy Arceri <[email protected]> | 2019-04-29 16:37:42 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2019-05-23 15:06:20 +1000 |
commit | a482cf6ab27aef30ec8caaea5b734504ffaa28d9 (patch) | |
tree | 5c04b806bf37a7ea11e801467b9760e30dca1e79 /src/compiler/glsl/link_varyings.cpp | |
parent | 96c2851586e8d76397823624321d5d24b3d22b36 (diff) |
glsl: simplify resource list building code
This greatly simplifies the code to calculate if we should add a
buffer to the resource list. This uses the spec rules and simple
math to decide if we should add the buffer rather than complex
string processing.
This patch refines a patch present in the ARB_gl_spriv merge
request for the NIR linker and applies it to the GLSL IR linker.
This is why we also move the function to the shared linker code,
because we will want to reuse the code for the NIR linker also.
Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'src/compiler/glsl/link_varyings.cpp')
0 files changed, 0 insertions, 0 deletions