| 66 | } |
| 67 | |
| 68 | TEST_F(NegativeDebugPrintf, Float) { |
| 69 | const char* shader_source = R"glsl( |
| 70 | #version 450 |
| 71 | #extension GL_EXT_debug_printf : enable |
| 72 | void main() { |
| 73 | float myfloat = 3.1415f; |
| 74 | debugPrintfEXT("float == %f", myfloat); |
| 75 | } |
| 76 | )glsl"; |
| 77 | BasicComputeTest(shader_source, "float == 3.141500"); |
| 78 | } |
| 79 | |
| 80 | TEST_F(NegativeDebugPrintf, IntUnsigned) { |
| 81 | const char* shader_source = R"glsl( |
nothing calls this directly
no test coverage detected