aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/gl_nir_link_uniform_blocks.c
diff options
context:
space:
mode:
authorNeil Roberts <[email protected]>2019-10-15 16:20:26 +0200
committerMarge Bot <[email protected]>2020-03-24 23:21:21 +0000
commite7434c0a0608383c13514210e805d15678af5722 (patch)
tree19e4f28f0e047bd084628e992e3264ceb97ee2cb /src/compiler/glsl/gl_nir_link_uniform_blocks.c
parent1ee2ad584c95233b5cdbbed9fa5997533dc80276 (diff)
glsl: Inline builtins in a separate pass
Previously, the ir_call functions for builtin functions were replaced with the inline implementation immediately after being added to the instruction list. This patch replaces that with a separate pass that lowers them after the conversion from AST to IR is complete. This will be useful to be able to insert some handling for the precision lowering pass before the inlining. This needs to happen because the precision of the operations in the inlined implementation depends on the highest precision of all of the arguments to the call. Reviewed-by: Alyssa Rosenzweig <[email protected]> Reviewed-by: Kristian H. Kristensen <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3885>
Diffstat (limited to 'src/compiler/glsl/gl_nir_link_uniform_blocks.c')
0 files changed, 0 insertions, 0 deletions