llvmpipe: Handle TGSI_TOKEN_TYPE_PROPERTY.
authorJosé Fonseca <jfonseca@vmware.com>
Thu, 11 Feb 2010 11:08:30 +0000 (11:08 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 11 Feb 2010 11:08:30 +0000 (11:08 +0000)
Avoids assertion failures with certain shaders.

src/gallium/auxiliary/gallivm/lp_bld_interp.c
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c

index a6acaead88766019f984346a061bd07dd35e3841..2fc894017d8f450a73f6f637da90dc293575ed07 100644 (file)
@@ -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:
index 2896c522fcfdbb462daf5be58497f55f88edc138..4cf28a9f934b8d91c398cfdd4ed7419d3e572c6e 100644 (file)
@@ -1498,6 +1498,9 @@ lp_build_tgsi_soa(LLVMBuilderRef builder,
          }
          break;
 
+      case TGSI_TOKEN_TYPE_PROPERTY:
+         break;
+
       default:
          assert( 0 );
       }