r600g: drop compiler stuff and switch over dumb tgsi assembler
[mesa.git] / src / gallium / drivers / r600 / r600_state.c
index 4150f88785efbffa2152337e776b16123aa48be8..84a13e4ef7af1aba58c96d429400286a82477b9b 100644 (file)
@@ -151,7 +151,7 @@ static void r600_set_framebuffer_state(struct pipe_context *ctx,
 static void *r600_create_fs_state(struct pipe_context *ctx,
                                        const struct pipe_shader_state *shader)
 {
-       return r600_pipe_shader_create(ctx, C_PROGRAM_TYPE_FS, shader->tokens);
+       return r600_pipe_shader_create(ctx, shader->tokens);
 }
 
 static void r600_bind_fs_state(struct pipe_context *ctx, void *state)
@@ -164,7 +164,7 @@ static void r600_bind_fs_state(struct pipe_context *ctx, void *state)
 static void *r600_create_vs_state(struct pipe_context *ctx,
                                        const struct pipe_shader_state *shader)
 {
-       return r600_pipe_shader_create(ctx, C_PROGRAM_TYPE_VS, shader->tokens);
+       return r600_pipe_shader_create(ctx, shader->tokens);
 }
 
 static void r600_bind_vs_state(struct pipe_context *ctx, void *state)