basic optimization path fails

This commit is contained in:
Evghenii
2014-01-10 06:34:44 +01:00
parent 9053eed4b4
commit 9389b6e3ef
2 changed files with 4 additions and 4 deletions

View File

@@ -334,7 +334,7 @@ DeclStmt::EmitCode(FunctionEmitContext *ctx) const {
* constant uniform are automatically promoted to varying
*/
!sym->type->IsConstType() &&
#if 0
#if 1
sym->type->IsArrayType() &&
#endif
g->target->getISA() == Target::NVPTX)