aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/i915simple/i915_state.c
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2007-09-19 06:46:32 -0400
committerZack Rusin <[email protected]>2007-09-19 06:46:32 -0400
commitf22e920f478d8732695913ec0d1f7244b451a8f5 (patch)
tree8244f28277fe213c2860c71c1dc368d34a5050a5 /src/mesa/pipe/i915simple/i915_state.c
parentbb611c5f1f6aec7ac51d4fa3301422b47f6de795 (diff)
Finish up conversions of shaders to immutable objects.
Create/Delete calls should be split since in create we'll be compiling them so we want to know which one it is (vertex/fragment).
Diffstat (limited to 'src/mesa/pipe/i915simple/i915_state.c')
-rw-r--r--src/mesa/pipe/i915simple/i915_state.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/pipe/i915simple/i915_state.c b/src/mesa/pipe/i915simple/i915_state.c
index fe835643e06..aaf2ccf499c 100644
--- a/src/mesa/pipe/i915simple/i915_state.c
+++ b/src/mesa/pipe/i915simple/i915_state.c
@@ -373,10 +373,12 @@ i915_init_state_functions( struct i915_context *i915 )
i915->pipe.create_rasterizer_state = i915_create_rasterizer_state;
i915->pipe.bind_rasterizer_state = i915_bind_rasterizer_state;
i915->pipe.delete_rasterizer_state = i915_delete_rasterizer_state;
- i915->pipe.create_shader_state = i915_create_shader_state;
+ i915->pipe.create_fs_state = i915_create_shader_state;
i915->pipe.bind_fs_state = i915_bind_fs_state;
+ i915->pipe.delete_fs_state = i915_delete_shader_state;
+ i915->pipe.create_vs_state = i915_create_shader_state;
i915->pipe.bind_vs_state = i915_bind_vs_state;
- i915->pipe.delete_shader_state = i915_delete_shader_state;
+ i915->pipe.delete_vs_state = i915_delete_shader_state;
i915->pipe.set_alpha_test_state = i915_set_alpha_test_state;
i915->pipe.set_blend_color = i915_set_blend_color;