yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
aefd1e3e0
master
1#ifndef SLANG_COMPILER_CORE_TEST_PROTOCOL_H 2#define SLANG_COMPILER_CORE_TEST_PROTOCOL_H 3 4#include "../core/slang-rtti-info.h" 5#include "slang-com-helper.h" 6#include "slang-com-ptr.h" 7#include "slang-json-value.h" 8#include "slang.h" 9 10namespace TestServerProtocol 11{ 12 13using namespace Slang ; 14 15struct ExecuteUnitTestArgs 16{ 17String moduleName ; 18String testName ; 19uint32_t enabledApis ; 20bool enableDebugLayers ; 21 22static const UnownedStringSlice g_methodName ; 23static const StructRttiInfo g_rttiInfo ; 24}; 25 26struct ExecuteToolTestArgs 27{ 28String toolName ;///< The name of the tool (will be a shared library typically - like 29///< render-test). Doesn't need -tool suffix. 30List < String > args ;///< Arguments passed to the tool during exectution 31 32static const UnownedStringSlice g_methodName ; 33static const StructRttiInfo g_rttiInfo ; 34}; 35 36struct QuitArgs 37{ 38static const UnownedStringSlice g_methodName ; 39}; 40 41struct ExecutionResult 42{ 43String stdOut ; 44String stdError ; 45String debugLayer ; 46int32_t result = SLANG_OK ; 47int32_t returnCode = 0 ;///< As returned if invoked as command line 48 49static const StructRttiInfo g_rttiInfo ; 50}; 51 52}// namespace TestServerProtocol 53 54#endif // SLANG_COMPILER_CORE_TEST_PROTOCOL_H