This series of changes are for making shaderdb as a complete standalone compiler that can create a shader program in binary form (using glGetProgramBinary), which can later be loaded on the target system specified by user (glProgramBinary).
As a prerequisite, the patch "run: new '--pci-id' option for overriding pci-id" was written to add support for other GEN architectures that is not listed in run.c. The first patch, "intel_stub: override pci-id only if INTEL_DEVID_OVERRIDE is set" is for fixing a segfault problem when ./intel_run is executed without INTEL_DEVID_OVERRIDE. Dongwon Kim (3): intel_stub: override pci-id only if INTEL_DEVID_OVERRIDE is set run: new '--pci-id' option for overriding pci-id run: shader program file created via GetProgramBinary intel_stub.c | 10 ++++++- run.c | 88 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 2 files changed, 94 insertions(+), 4 deletions(-) -- 2.16.1 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev