tests: Clean up and bug fixes

Copy correct amount of data to data buffer.
Misc code format cleanup
Update TriangleVSUniform to use uniform block.
For some reason the previous plain uniform mat4 mvp
was no longer working so added that as a separate
test to debug.
Changing the order of the matrix multiply
(mat4 * vec) vs. (vec * mat4) does allow the plain
uniform case to work - but that really shouldn't matter.
Something odd going on.
1 file changed
tree: eb15fc46c9afb6d26702524e500d88779ccbff92
  1. docs/
  2. include/
  3. layers/
  4. loader/
  5. tests/
  6. .gitignore
  7. BUILD.md
  8. CMakeLists.txt
  9. README.md
  10. update_external_sources.sh
  11. xgl-generate.py
  12. xgl-helper.py
  13. xgl-layer-generate.py
  14. xgl.py
README.md

Explicit GL (XGL) Sample Implementation

Version 0.1, 1 Sep 2014

This project provides a sample implementation of an XGL driver running on Intel's Haswell, IvyBridge and SandyBridge GPUs within the Linux Desktop Environment. This implementation is being shared with the Khronos community to provide early insights into the specification of XGL. It is written to the 0.1 version of the XGL specification, dated 1 Jul 2014. It supports a subset of the full specification, including:

First Triangles with hardcoded shaders

This work is intended to be released as open source under a BSD-style license once the XGL specification is public. Until that time, this work is covered by the Khronos NDA governing the details of the XGL API.

While this project is being developed by LunarG, Inc; there are many other companies and individuals making this possible: Valve Software, funding project development; Intel Corporation, providing full hardware specifications and valuable technical feedback; AMD, providing XGL spec editor contributions; ARM, contributing a Chairman for this working group within Khronos; Nvidia, providing an initial co-editor for the spec; Qualcomm for picking up the co-editor's chair; and Khronos, for providing hosting within GitHub.

If you have questions or comments about this driver, please post those to gl_common@khronos.org; or if you prefer, directly to LunarG via XGL@LunarG.com