Updated wined3d-zero-inf-shaders patchset.

Fix by Matteo Bruni <mbruni@codeweavers.com>.
This commit is contained in:
Paul Gofman 2021-08-31 22:57:52 +03:00
parent 24319dc308
commit 4b48df5032

View File

@ -131,7 +131,7 @@ index 7c4530f7064..5cccd31207b 100644
+ shader_addline(buffer, "vec%u(%s == 0.0 ? 1.0 : min(pow(abs(%s), %s), ",
+ dst_size, src1_param.param_str, src0_param.param_str, src1_param.param_str);
+ shader_glsl_append_imm_vec(buffer, &max_float, 1, priv->gl_info);
+ shader_addline(buffer, "));\n");
+ shader_addline(buffer, ")));\n");
+ }
+ else
+ {