*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
- /* Fallback shader, because Draw has issues */
- struct draw_vertex_shader* draw;
+ /* Whether the shader was replaced by a dummy one due to a shader
+ * compilation failure. */
+ boolean dummy;
-void r300_translate_vertex_shader(struct r300_context* r300,
- struct r300_vertex_shader* vs);
+void r300_draw_init_vertex_shader(struct r300_context *r300,
+ struct r300_vertex_shader *vs);