diff options
author | Brian Paul <[email protected]> | 2011-07-21 09:55:22 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-07-21 09:57:37 -0600 |
commit | c534f11164bbecf25eb2b1e697f9511eceb0c86f (patch) | |
tree | 9514aec5d678796b6d8bd4bcb888c90e1107b91d /src/gallium/drivers/softpipe/sp_fs.h | |
parent | 3dde6be908d827f4d6d54e0968ae83c2c4dfa87c (diff) |
softpipe: implement fragment shader variants
We'll need shader variants to accomodate the new polygon stipple utility.
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_fs.h')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_fs.h | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/gallium/drivers/softpipe/sp_fs.h b/src/gallium/drivers/softpipe/sp_fs.h index 4792ace3a33..d46d7d5a657 100644 --- a/src/gallium/drivers/softpipe/sp_fs.h +++ b/src/gallium/drivers/softpipe/sp_fs.h @@ -31,17 +31,15 @@ #ifndef SP_FS_H #define SP_FS_H -struct sp_fragment_shader * -softpipe_create_fs_exec(struct softpipe_context *softpipe, - const struct pipe_shader_state *templ); -struct sp_fragment_shader * -softpipe_create_fs_sse(struct softpipe_context *softpipe, - const struct pipe_shader_state *templ); +struct sp_fragment_shader_variant * +softpipe_create_fs_variant_exec(struct softpipe_context *softpipe, + const struct pipe_shader_state *templ); + +struct sp_fragment_shader_variant * +softpipe_create_fs_variant_sse(struct softpipe_context *softpipe, + const struct pipe_shader_state *templ); -struct sp_fragment_shader * -softpipe_create_fs_llvm(struct softpipe_context *softpipe, - const struct pipe_shader_state *templ); struct tgsi_interp_coef; struct tgsi_exec_vector; |