Helper function to check if the given SPIR-V string contains a UConvert instruction.
| 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. |
nothing calls this directly
no outgoing calls
no test coverage detected