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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user