glsl: lower mediump partial derivatives
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reviewed-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5002>
This commit is contained in:
@@ -1035,6 +1035,34 @@ TESTS = [
|
||||
}
|
||||
""",
|
||||
r'\(expression +uint16_t min'),
|
||||
Test("dFdx",
|
||||
"""
|
||||
#version 300 es
|
||||
precision mediump float;
|
||||
|
||||
in vec4 var;
|
||||
out vec4 color;
|
||||
|
||||
void main()
|
||||
{
|
||||
color = dFdx(var);
|
||||
}
|
||||
""",
|
||||
r'\(expression +f16vec4 +dFdx +\(expression +f16vec4'),
|
||||
Test("dFdy",
|
||||
"""
|
||||
#version 300 es
|
||||
precision mediump float;
|
||||
|
||||
in vec4 var;
|
||||
out vec4 color;
|
||||
|
||||
void main()
|
||||
{
|
||||
color = dFdy(var);
|
||||
}
|
||||
""",
|
||||
r'\(expression +f16vec4 +dFdy +\(expression +f16vec4'),
|
||||
]
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user