summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe/sp_fs_sse.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-04-11 15:27:00 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-04-11 15:27:00 -0600
commit593cf5a6b55eb9b490a2aee2c3850d2d493fc4df (patch)
treec902fad039c686cc54ef8faec5e7ddd02a2b3cce /src/gallium/drivers/softpipe/sp_fs_sse.c
parent7c2416f06e518bc1491fe13e145dcc9487d75449 (diff)
gallium: merge the tgsi_emit_sse2() and tgsi_emit_sse2_fs() functions.
The two functions were mostly the same. We can look at the shader header info to determine if it's a vertex or fragment shader.
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_fs_sse.c')
-rw-r--r--src/gallium/drivers/softpipe/sp_fs_sse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/softpipe/sp_fs_sse.c b/src/gallium/drivers/softpipe/sp_fs_sse.c
index 9c7948264f..5ef02a7142 100644
--- a/src/gallium/drivers/softpipe/sp_fs_sse.c
+++ b/src/gallium/drivers/softpipe/sp_fs_sse.c
@@ -132,8 +132,8 @@ softpipe_create_fs_sse(struct softpipe_context *softpipe,
x86_init_func( &shader->sse2_program );
- if (!tgsi_emit_sse2_fs( templ->tokens, &shader->sse2_program,
- shader->immediates)) {
+ if (!tgsi_emit_sse2( templ->tokens, &shader->sse2_program,
+ shader->immediates)) {
FREE(shader);
return NULL;
}