mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 17:40:11 +01:00
glsl: allow bindless images to be declared inside structures
The spec doesn't clearly state this, but I have got clarification from the spec authors. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
parent
e1eb30975a
commit
48b7882200
1 changed files with 1 additions and 1 deletions
|
|
@ -6989,7 +6989,7 @@ ast_process_struct_or_iface_block_members(exec_list *instructions,
|
||||||
_mesa_glsl_error(&loc, state, "atomic counter in structure");
|
_mesa_glsl_error(&loc, state, "atomic counter in structure");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (decl_type->contains_image()) {
|
if (!state->has_bindless() && decl_type->contains_image()) {
|
||||||
/* FINISHME: Same problem as with atomic counters.
|
/* FINISHME: Same problem as with atomic counters.
|
||||||
* FINISHME: Request clarification from Khronos and add
|
* FINISHME: Request clarification from Khronos and add
|
||||||
* FINISHME: spec quotation here.
|
* FINISHME: spec quotation here.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue