mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
glsl: Add missing spec quote about atomic counter in structs
Reviewed-by: Thomas Helland <thomashelland90@gmail.com>
This commit is contained in:
parent
87cea61b9e
commit
fe55ab2d12
1 changed files with 4 additions and 4 deletions
|
|
@ -5631,10 +5631,10 @@ ast_process_structure_or_interface_block(exec_list *instructions,
|
|||
}
|
||||
|
||||
if (field_type->contains_atomic()) {
|
||||
/* FINISHME: Add a spec quotation here once updated spec
|
||||
* FINISHME: language is available. See Khronos bug #10903
|
||||
* FINISHME: on whether atomic counters are allowed in
|
||||
* FINISHME: structures.
|
||||
/* From section 4.1.7.3 of the GLSL 4.40 spec:
|
||||
*
|
||||
* "Members of structures cannot be declared as atomic counter
|
||||
* types."
|
||||
*/
|
||||
YYLTYPE loc = decl_list->get_location();
|
||||
_mesa_glsl_error(&loc, state, "atomic counter in structure, "
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue