diff options
author | Danylo Piliaiev <[email protected]> | 2018-09-05 15:26:48 +0300 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2019-01-11 13:01:11 +1100 |
commit | a2db6b4254462c62fe60dcc62645da6901986690 (patch) | |
tree | 6b5c842a862621bf731e5537ea0cb9012e55e362 /src/gallium/drivers/radeon | |
parent | eb4b1477dcd37270291bfae94495192e1a760a69 (diff) |
glsl: Make invariant outputs in ES fragment shader not to cause error
In all GLSL ES versions output variables in fragment shader are allowed
to be invariant.
From Section 4.6.1 ("The Invariant Qualifier") GLSL ES 1.00 spec:
"Only the following variables may be declared as invariant:
...
- Built-in special variables output from the fragment shader."
From Section 4.6.1 ("The Invariant Qualifier") GLSL ES 3.00 spec:
"Only variables output from a shader can be candidates for invariance."
Signed-off-by: Danylo Piliaiev <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107842
Diffstat (limited to 'src/gallium/drivers/radeon')
0 files changed, 0 insertions, 0 deletions