diff options
author | Samuel Pitoiset <[email protected]> | 2017-02-23 18:07:58 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-02-27 19:39:37 +0100 |
commit | 87ee1729d0cd5c6a26c62109eae9b75b006a9d1a (patch) | |
tree | 7a25d5390a3f38fb8d3f9c8f877eb63f65214187 /REVIEWERS | |
parent | de2727925a5b69e7c7fa1fee3c7e7ad0cbabcb02 (diff) |
glsl: use an enum for AMD_conservative_depth layout qualifiers
The main idea behind this is to free some bits in the flags.q
struct because currently all 64-bits are used and we can't
add more layout qualifiers without reaching a static assert.
In order to do that (mainly for ARB_bindless_texture), use an
enumeration for the AMD_conservative_depth layout qualifiers
because it's forbidden to declare more than one depth qualifier
for gl_FragDepth.
Note that ast_type_qualifier::merge_qualifier() will prevent
using duplicate layout qualifiers by returning a compile-time
error.
No piglit regressions found (including compiler tests) with
RX480 on RadeonSI.
v2: use a switch case
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Andres Gomez <[email protected]> (v1)
Diffstat (limited to 'REVIEWERS')
0 files changed, 0 insertions, 0 deletions