This script is copied from the Vulkan-ValidationLayers repo and allows
us to track commits from external repos that are known to be good.
Change-Id: Ibd00e9824e326b7af00eb75b6c3e3029542b0464
Removing tri demo for maintenance reasons. Cube should be the demo
to go to for examples of good Vulkan
Change-Id: I4442a1882b5c168cfe88501eccc41a554ae4d026
Have update_external_sources create a sub-directory "external" to
fetch these components into. This way the update_external_sources
does not potentially overwrite files outside the directory tree.
Change-Id: Ia03d1fb9e4dad9d9db26a46e596fb1bf24fcb033
Since the sample Intel driver hasn't been ported to Windows, this nulldrv is
being used to bootstrap Windows support. It can also provide a hint to new
IHV's for how to set the magic number.
Call layer_intercept_proc() from xglGetProcAddr() in DrawState, MemTracker,
and generated layers.
There should be no functional difference with this change.
Generate xgl_dispatch_table_helper.h with
$ ./xgl-generate.py dispatch-table-ops layer
and make use of layer_initialize_dispatch_table() in initLayerTable().
There should be no functional difference with this change.
This also fixes several typos in xglGetProcAddr(), such as in
else if (!strncmp("xglCreateFence", pName, sizeof ("xgllCreateFence")))
return disp_table->CreateFence;
They are generally harmless though.
libicd was an OBJECT library because it provided the XGL entry points. That
is not true anymore. Make it a STATIC library.
v2:
- update .gitignore
- stop adding CMAKE_CURRENT_BINARY_DIR to ICD_INCLUDE_DIRS, unnecessary since
the switch to xglLayer.h some time ago
v3: Make icd appear before ICD_LIBRARIES during linking of libXGL_i965.so.
It looks like we can do better now that icd is a regular library, but
leave it as is for now.
Let ICDs define XGL entrypoints directly. This requires the Intel ICD to
rename intelSomeEntryPoint() to xglSomeEntryPoint(). In addition, the ICD
needs to be linked with -Bsymbolic to make symbol resolving work for
xglGetProcAddr().
v2: use -Bsymbolic-functions