Added few more stubs so that control reaches to DestroyDevice().
[mesa.git] / src / gallium / drivers / r300 / r300_tgsi_to_rc.h
index 39b473c7bf5cc35762c67c034fb8920bbd4fb680..21f35e15ca272803f180726e3f062a2250e28458 100644 (file)
@@ -23,6 +23,8 @@
 #ifndef R300_TGSI_TO_RC_H
 #define R300_TGSI_TO_RC_H
 
+#include "pipe/p_compiler.h"
+
 struct radeon_compiler;
 
 struct tgsi_full_declaration;
@@ -41,6 +43,13 @@ struct tgsi_to_rc {
     int immediate_offset;
     struct swizzled_imms * imms_to_swizzle;
     unsigned imms_to_swizzle_count;
+
+    /* Vertex shaders have no half swizzles, and no way to handle them, so
+     * until rc grows proper support, indicate if they're safe to use. */
+    boolean use_half_swizzles;
+
+    /* If an error occurred. */
+    boolean error;
 };
 
 void r300_tgsi_to_rc(struct tgsi_to_rc * ttr, const struct tgsi_token * tokens);