diff options
author | Iago Toral Quiroga <[email protected]> | 2015-09-28 13:56:28 +0200 |
---|---|---|
committer | Iago Toral Quiroga <[email protected]> | 2015-09-28 14:23:26 +0200 |
commit | e7ae6d9e141489281295352e43facbc1aeb137d9 (patch) | |
tree | 6de089d6a35cefd75d3cf77351c6ee8e81e51751 /src/glsl/program.h | |
parent | 5bff12ecb403356d7848dc02696c618b68a324f1 (diff) |
glsl: revert "glsl: atomic counters can be declared as buffer-qualified variables"
This reverts commit 586142658e2927a68c.
The specs are not explicit about any restrictions related to the types allowed
on buffer variables, however, the description of opaque types (like atomic
counters) is in conclict with the purpose of buffer variables:
"The opaque types declare variables that are effectively opaque
handles to other objects. These objects are
accessed through built-in functions, not through direct reading or
writing of the declared variable.
(...)
Opaque variables cannot be treated as l-values;(...)"
Also, Mesa is already disallowing opaque types in interface blocks anyway, so
that commit was not really achieving anything.
Reviewed-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'src/glsl/program.h')
0 files changed, 0 insertions, 0 deletions