dolphin/Externals/glslang/gtests
iwubcode 6d528a72eb Externals: Update glslang.
This updates glslang to commit 9bb8cfffb0eed010e07132282c41d73064a7a609
which is the current version listed in the known_good.json file for the
version 1.3.212 of the Vulkan-ValidationLayers repo.
2022-04-30 00:37:59 -05:00
..
AST.FromFile.cpp Externals: Update glslang. 2022-04-30 00:37:59 -05:00
BuiltInResource.FromFile.cpp Externals: Update glslang to upstream commit 32d3ec3 2018-06-02 07:34:31 +00:00
CMakeLists.txt Externals: Update glslang. 2022-04-30 00:37:59 -05:00
Common.cpp Externals: Update glslang. 2022-04-30 00:37:59 -05:00
Config.FromFile.cpp Externals: Update glslang. 2022-04-30 00:37:59 -05:00
GlslMapIO.FromFile.cpp Externals: Update glslang. 2022-04-30 00:37:59 -05:00
HexFloat.cpp Externals: Update glslang. 2022-04-30 00:37:59 -05:00
Hlsl.FromFile.cpp Externals: Update glslang. 2022-04-30 00:37:59 -05:00
Initializer.h Externals: Update glslang to upstream commit 32d3ec3 2018-06-02 07:34:31 +00:00
Link.FromFile.Vk.cpp Externals: Update glslang. 2022-04-30 00:37:59 -05:00
Link.FromFile.cpp Externals: Update glslang. 2022-04-30 00:37:59 -05:00
Pp.FromFile.cpp Externals: Update glslang. 2022-04-30 00:37:59 -05:00
README.md Externals: Add glslang from Vulkan SDK v1.0.21.1 2016-08-11 22:40:32 +10:00
Remap.FromFile.cpp Externals: Update glslang. 2022-04-30 00:37:59 -05:00
Settings.cpp Externals: Update glslang to upstream commit 32d3ec3 2018-06-02 07:34:31 +00:00
Settings.h Externals: Update glslang to upstream commit 32d3ec3 2018-06-02 07:34:31 +00:00
Spv.FromFile.cpp Externals: Update glslang. 2022-04-30 00:37:59 -05:00
TestFixture.cpp Externals: Update glslang. 2022-04-30 00:37:59 -05:00
TestFixture.h Externals: Update glslang. 2022-04-30 00:37:59 -05:00
VkRelaxed.FromFile.cpp Externals: Update glslang. 2022-04-30 00:37:59 -05:00
main.cpp Externals: Update glslang to upstream commit 32d3ec3 2018-06-02 07:34:31 +00:00
pch.h Externals: Update glslang. 2020-05-30 18:06:03 -07:00

README.md

Glslang Tests based on the Google Test Framework

This directory contains Google Test based test fixture and test cases for glslang.

Apart from typical unit tests, necessary utility methods are added into the GlslangTests fixture to provide the ability to do file-based integration tests. Various *.FromFile.cpp files lists names of files containing input shader code in the Test/ directory. Utility methods will load the input shader source, compile them, and compare with the corresponding expected output in the Test/baseResults/ directory.

How to run the tests

Please make sure you have a copy of Google Test checked out under the External directory before building. After building, just run the ctest command or the gtests/glslangtests binary in your build directory.

The gtests/glslangtests binary also provides an --update-mode command line option, which, if supplied, will overwrite the golden files under the Test/baseResults/ directory with real output from that invocation. This serves as an easy way to update golden files.