shaderc: Rename BITANGENT semantics to BINORMAL when building with D3D9 SM3 compiler.

This commit is contained in:
Branimir Karadžić 2015-01-15 17:32:43 -08:00
parent f4123e6483
commit 100673b736
1 changed files with 6 additions and 0 deletions

View File

@ -997,6 +997,12 @@ int main(int _argc, const char* _argv[])
var.m_name.assign(name, bx::strword(name)-name);
var.m_semantics.assign(semantics, bx::strword(semantics)-semantics);
if (d3d == 9
&& var.m_semantics == "BITANGENT")
{
var.m_semantics = "BINORMAL";
}
if (assign < eol
&& '=' == *assign
&& init < eol)