scons/svga: remove opt from the list of valid build types
[mesa.git] / src / gallium / drivers / svga / svga_tgsi.h
index 207a3f0a8457dd1034349f2ada8b888a8f8c2bff..e98601127f43e84af7c7989be49cd95b336213f2 100644 (file)
@@ -63,14 +63,16 @@ static inline void svga_generate_vdecl_semantics( unsigned idx,
 
 
 struct svga_shader_variant *
-svga_tgsi_vgpu9_translate(const struct svga_shader *shader,
-                          const struct svga_compile_key *key, unsigned unit);
+svga_tgsi_vgpu9_translate(struct svga_context *svga,
+                          const struct svga_shader *shader,
+                          const struct svga_compile_key *key,
+                          enum pipe_shader_type unit);
 
 struct svga_shader_variant *
 svga_tgsi_vgpu10_translate(struct svga_context *svga,
                            const struct svga_shader *shader,
                            const struct svga_compile_key *key,
-                           unsigned unit);
+                           enum pipe_shader_type unit);
 
 boolean svga_shader_verify(const uint32_t *tokens, unsigned nr_tokens);