-
Sub-task
-
Resolution: Fixed
-
P4
-
internal
-
fx-sandbox:metal branch
-
generic
-
os_x
Solid_Color fragment function is used for clearing rectangle areas in rtt.
clearRect occurs several times during rendering.
The MTLRenderPipelineState created for Solid_Color fragment function is currently not cached, and gets recreated for each clearRect call.
It should be cached to reduce the overhead of recreating it several times.
clearRect occurs several times during rendering.
The MTLRenderPipelineState created for Solid_Color fragment function is currently not cached, and gets recreated for each clearRect call.
It should be cached to reduce the overhead of recreating it several times.