https://bugs.freedesktop.org/show_bug.cgi?id=96410

            Bug ID: 96410
           Summary: [Perf] Pre validate
                    _mesa_sampler_uniforms_pipeline_are_valid like
                    _mesa_sampler_uniforms_are_valid
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
          Assignee: mesa-dev@lists.freedesktop.org
          Reporter: gregory.hain...@gmail.com
        QA Contact: mesa-dev@lists.freedesktop.org

Hello,

Profiling my app (PCSX2), it seems a fair amount of time is spend on the
_mesa_sampler_uniforms_pipeline_are_valid. I only uses a single pipeline object
so it always trigger revalidation of the pipeline which isn't ideal.

Anyway, it feels that it ought to be possible to cache/prevalidate sampler of
program like the _mesa_sampler_uniforms_are_valid function (which is the same
function but for monolithic build). 

It would be nice to reduce the overhead of the function. Perf reports around 4%
of nouveau_dri.so.

Thanks,
Gregory

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to