aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/slang/library/slang_fragment_builtin.gc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/shader/slang/library/slang_fragment_builtin.gc')
-rwxr-xr-xsrc/mesa/shader/slang/library/slang_fragment_builtin.gc16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mesa/shader/slang/library/slang_fragment_builtin.gc b/src/mesa/shader/slang/library/slang_fragment_builtin.gc
index 8b619cd8373..12a18ee7923 100755
--- a/src/mesa/shader/slang/library/slang_fragment_builtin.gc
+++ b/src/mesa/shader/slang/library/slang_fragment_builtin.gc
@@ -116,42 +116,42 @@ vec4 shadow2DProj (sampler2DShadow sampler, vec4 coord, float bias) {
float dFdx (float p) {
// XXX:
- return 0.0;
+ return 0.001;
}
vec2 dFdx (vec2 p) {
// XXX:
- return vec2 (0.0);
+ return vec2 (0.001);
}
vec3 dFdx (vec3 p) {
// XXX:
- return vec3 (0.0);
+ return vec3 (0.001);
}
vec4 dFdx (vec4 p) {
// XXX:
- return vec4 (0.0);
+ return vec4 (0.001);
}
float dFdy (float p) {
// XXX:
- return 0.0;
+ return 0.001;
}
vec2 dFdy (vec2 p) {
// XXX:
- return vec2 (0.0);
+ return vec2 (0.001);
}
vec3 dFdy (vec3 p) {
// XXX:
- return vec3 (0.0);
+ return vec3 (0.001);
}
vec4 dFdy (vec4 p) {
// XXX:
- return vec4 (0.0);
+ return vec4 (0.001);
}
float fwidth (float p) {