HLSL: Emit the OpSource HLSL instruction for HLSL, using new headers.
This commit is contained in:
parent
7962bda334
commit
6fa17641b5
214 changed files with 611 additions and 433 deletions
|
|
@ -222,8 +222,7 @@ spv::SourceLanguage TranslateSourceLanguage(glslang::EShSource source, EProfile
|
|||
return spv::SourceLanguageUnknown;
|
||||
}
|
||||
case glslang::EShSourceHlsl:
|
||||
// Use SourceLanguageUnknown instead of SourceLanguageHLSL for now, until Vulkan knows what HLSL is
|
||||
return spv::SourceLanguageUnknown;
|
||||
return spv::SourceLanguageHLSL;
|
||||
default:
|
||||
return spv::SourceLanguageUnknown;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue