summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/hir_field_selection.cpp
diff options
context:
space:
mode:
authorCaio Marcelo de Oliveira Filho <[email protected]>2019-09-20 09:27:00 -0700
committerCaio Marcelo de Oliveira Filho <[email protected]>2019-09-30 12:44:30 -0700
commitaf1a6f0f770ae7432fd506f5f33fbe9e00e253af (patch)
treedc2216dfc44b1dbd1bbce05f27b7fd0bbc146ed1 /src/compiler/glsl/hir_field_selection.cpp
parentc81b912eb7adff326070fc18353d51ef6dec0dcb (diff)
glsl: Add ir_demote
To represent the new `demote` keyword when using EXT_demote_to_helper_invocation extension. Most of the changes are to include it in the visitors. Demote is not considered a control flow, so also include an empty visit member function in ir_control_flow_visitor. Only NIR actually supports `demote`, so assert the translations for TGSI and Mesa's gl_program -- since the demote is not expected to appear for those. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/compiler/glsl/hir_field_selection.cpp')
0 files changed, 0 insertions, 0 deletions