MCPcopy Create free account
hub / github.com/NVIDIA-RTX/RTXPT / GetProfileString

Function GetProfileString

Rtxpt/SampleCommon/ShaderCompilerUtils.cpp:126–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124 //////////////////////////////////////////////////////////////////////////
125
126 static std::string GetProfileString(ShaderProfile profile)
127 {
128 switch (profile)
129 {
130 case ShaderProfile::Library_6_6: return "lib_6_6";
131 case ShaderProfile::Library_6_9: return "lib_6_9";
132 case ShaderProfile::Compute_6_6: return "cs_6_6";
133 case ShaderProfile::Compute_6_9: return "cs_6_9";
134 default: return "cs_6_6";
135 }
136 }
137
138 static bool IsLibraryProfile(ShaderProfile profile)
139 {

Callers 1

BuildDxcCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected