gallivm: Maximum loop iterations
authorJames Benton <jbenton@vmware.com>
Mon, 2 Apr 2012 15:29:34 +0000 (16:29 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Tue, 3 Apr 2012 09:11:27 +0000 (10:11 +0100)
commit5db9d76a6a498c029133a8c2544c4c7c25eebf80
treedfd944c556e15bb55834a219044f76846ede1701
parentd312b224b6759fd9b206d4c19450f6a4dfe53311
gallivm: Maximum loop iterations

Limits maximum loop iterations in a TGSI shader to prevent infinite
loops from occurring, any iteration in any loop counts towards this
limit

Signed-off-by: José Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_limits.h
src/gallium/auxiliary/gallivm/lp_bld_tgsi.h
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c