Fix HLSL matrix unrolling

This commit is contained in:
Robert Konrad 2017-04-03 11:38:15 +02:00
parent cb637db5d6
commit 61b561772c

View File

@ -862,7 +862,7 @@ void CompilerHLSL::emit_hlsl_entry_point()
{
// Unroll matrices.
for (uint32_t col = 0; col < mtype.columns; col++)
statement(name, "[", col, "] = stage_input.", name, "_0;");
statement(name, "[", col, "] = stage_input.", name, "_", col, ";");
}
else
{