mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
glsl: don't lower atomic functions to mediump
Reviewed-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6073>
This commit is contained in:
parent
93076f60d3
commit
5020403c70
1 changed files with 3 additions and 1 deletions
|
|
@ -506,7 +506,9 @@ is_lowerable_builtin(ir_call *ir,
|
|||
*/
|
||||
!strcmp(ir->callee_name(), "packHalf2x16") ||
|
||||
!strcmp(ir->callee_name(), "packUnorm4x8") ||
|
||||
!strcmp(ir->callee_name(), "packSnorm4x8"))
|
||||
!strcmp(ir->callee_name(), "packSnorm4x8") ||
|
||||
/* Atomic functions are not lowered. */
|
||||
strstr(ir->callee_name(), "atomic") == ir->callee_name())
|
||||
return false;
|
||||
|
||||
assert(ir->callee->return_precision == GLSL_PRECISION_NONE);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue