1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hmz007 6d24f2138b
Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56)
3 years ago
..
AST.FromFile.cpp Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
BuiltInResource.FromFile.cpp Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
CMakeLists.txt Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
Config.FromFile.cpp Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
HexFloat.cpp Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
Hlsl.FromFile.cpp Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
Initializer.h Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
Link.FromFile.Vk.cpp Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
Link.FromFile.cpp Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
Pp.FromFile.cpp Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
README.md Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
Remap.FromFile.cpp Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
Settings.cpp Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
Settings.h Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
Spv.FromFile.cpp Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
TestFixture.cpp Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
TestFixture.h Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
main.cpp Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
pch.h Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago

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.