MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-ValidationLayers / TEST_F

Function TEST_F

tests/unit/debug_printf.cpp:68–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68TEST_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
80TEST_F(NegativeDebugPrintf, IntUnsigned) {
81 const char* shader_source = R"glsl(

Callers

nothing calls this directly

Calls 15

VkShaderObjClass · 0.85
CmdBindPipelineFunction · 0.85
CmdBindDescriptorSetsFunction · 0.85
CmdDispatchFunction · 0.85
CmdDrawFunction · 0.85
CmdDrawMultiEXTFunction · 0.85
CmdBindIndexBufferFunction · 0.85
CmdDrawMultiIndexedEXTFunction · 0.85
CmdDrawMeshTasksNVFunction · 0.85
CmdDrawMeshTasksEXTFunction · 0.85

Tested by

no test coverage detected