From: José Fonseca Date: Thu, 11 Feb 2010 11:08:30 +0000 (+0000) Subject: llvmpipe: Handle TGSI_TOKEN_TYPE_PROPERTY. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9381dd590f2e45acb8fbb0aa5503c917b832204d;p=mesa.git llvmpipe: Handle TGSI_TOKEN_TYPE_PROPERTY. Avoids assertion failures with certain shaders. --- diff --git a/src/gallium/auxiliary/gallivm/lp_bld_interp.c b/src/gallium/auxiliary/gallivm/lp_bld_interp.c index a6acaead887..2fc894017d8 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_interp.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_interp.c @@ -376,6 +376,7 @@ lp_build_interp_soa_init(struct lp_build_interp_soa_context *bld, case TGSI_TOKEN_TYPE_INSTRUCTION: case TGSI_TOKEN_TYPE_IMMEDIATE: + case TGSI_TOKEN_TYPE_PROPERTY: break; default: diff --git a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c index 2896c522fcf..4cf28a9f934 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c @@ -1498,6 +1498,9 @@ lp_build_tgsi_soa(LLVMBuilderRef builder, } break; + case TGSI_TOKEN_TYPE_PROPERTY: + break; + default: assert( 0 ); }