Metal: Improve AMD EEVEE Performance #104743

Closed
Jason Fielder wants to merge 3 commits from Jason-Fielder/blender:MetalAMDPerformanceEEVEE_2 into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
2 changed files with 1 additions and 2 deletions
Showing only changes of commit 17bb51b413 - Show all commits

View File

@ -115,7 +115,7 @@ Closure closure_eval(ClosureReflection reflection, const bool do_output_ssr)
Closure closure = CLOSURE_DEFAULT;
bool output_radiance = true;
if(do_output_ssr){
if (do_output_ssr) {
output_radiance = !output_ssr(reflection);
}
if (output_radiance) {

View File

@ -53,7 +53,6 @@ vec3 coordinate_incoming(vec3 P);
Closure closure_eval(ClosureDiffuse diffuse);
Closure closure_eval(ClosureTranslucent translucent);
Closure closure_eval(ClosureReflection reflection);
Closure closure_eval(ClosureReflection reflection, const bool do_output_ssr);
Closure closure_eval(ClosureRefraction refraction);
Closure closure_eval(ClosureEmission emission);
Closure closure_eval(ClosureTransparency transparency);