MCPcopy Create free account
hub / github.com/KhronosGroup/glslang / containsUConvert

Method containsUConvert

gtests/SpvPatternTest.cpp:79–79  ·  view source on GitHub ↗

Helper function to check if the given SPIR-V string contains a UConvert instruction.

Source from the content-addressed store, hash-verified

77
78 // Helper function to check if the given SPIR-V string contains a UConvert instruction.
79 bool containsUConvert(const std::string& spirvText) { return containsPattern(spirvText, "UConvert"); }
80};
81
82// Test 1: Indexing an array with a regular int or uint should not generate a zero extension.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected