Add generated tables to mirror D3D11 format support.
These tables can save us on startup time. Instead of querying the
tables, we can keep certain assumptions about texture formats
because certain formats are guaranteed to be supported in various
feature levels.
Testing with angle_perftests indicates this patch series will save
about 50% of the time we spend in Renderer11::initializeDevice.
BUG=angleproject:1014
Change-Id: I84dbeaba1d1c635ad60c8413705cc41af8a51f06
Reviewed-on: https://chromium-review.googlesource.com/275772Reviewed-by:
Geoff Lang <geofflang@chromium.org>
Reviewed-by:
Kenneth Russell <kbr@chromium.org>
Tested-by:
Jamie Madill <jmadill@chromium.org>
Showing
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
src/tests/gl_tests/D3D11FormatTablesTest.cpp
0 → 100644
Please
register
or
sign in
to comment