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

Function SamplerAddressingModeString

SPIRV/doc.cpp:527–538  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

525}
526
527const char* SamplerAddressingModeString(int mode)
528{
529 switch (mode) {
530 case 0: return "None";
531 case 1: return "ClampToEdge";
532 case 2: return "Clamp";
533 case 3: return "Repeat";
534 case 4: return "RepeatMirrored";
535
536 default: return "Bad";
537 }
538}
539
540const char* SamplerFilterModeString(int mode)
541{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected