Add the PowerVR SDK as a git submodule
The primary purpose of doing this is to have all the PowerVR SDK
examples in one place and remain up-to-date. This change also lets us
simplify a bit of our CMakeLists.txt as we only need to use
add_subdirectory to build everything we need.
The PowerVR SDK examples are built by explicitly enabling
SWIFTSHADER_BUILD_PVR_EXAMPLES (either through a cmake gui, or
-DSWIFTSHADER_BUILD_PVR_EXAMPLES=ON on the command line). You must also specify
a window system for the examples to use with something like
"-DPVR_WINDOW_SYSTEM=X11".
Several cmake option flags were renamed to start with "SWIFTSHADER_" to avoid
name collisions with subdirectories.
Bug: b/141361933
Change-Id: I6d2fac579f62ff4bc211d5fd5127fb670eb9b4bf
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/39909Tested-by:
Sean Risser <srisser@google.com>
Reviewed-by:
Nicolas Capens <nicolascapens@google.com>
Showing
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment