[Mesa-dev] [Bug 96410] [Perf] Pre validate _mesa_sampler_uniforms_pipeline_are_valid like _mesa_sampler_uniforms_are_valid

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jun 6 17:21:14 UTC 2016


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 at lists.freedesktop.org
          Reporter: gregory.hainaut at gmail.com
        QA Contact: mesa-dev at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160606/7ef88710/attachment.html>


More information about the mesa-dev mailing list