diff options
author | Keith Whitwell <keithw@vmware.com> | 2010-10-15 00:12:19 +0100 |
---|---|---|
committer | Keith Whitwell <keithw@vmware.com> | 2010-10-15 13:27:47 +0100 |
commit | 0a1c9001037a13b69b157994e7983aa3dee158d3 (patch) | |
tree | 289ae15bb01f50b568bf67912aae6135c4b0b9bf /src/gallium/drivers/llvmpipe/lp_state_fs.c | |
parent | 4195febeecd2d2f5571afdb90cbb185a4759f50a (diff) |
llvmpipe: don't pass frontfacing as a float
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_state_fs.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_state_fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_state_fs.c b/src/gallium/drivers/llvmpipe/lp_state_fs.c index d2fbe27708..8df807cec8 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_fs.c +++ b/src/gallium/drivers/llvmpipe/lp_state_fs.c @@ -579,7 +579,7 @@ generate_fragment(struct llvmpipe_context *lp, arg_types[0] = screen->context_ptr_type; /* context */ arg_types[1] = LLVMInt32Type(); /* x */ arg_types[2] = LLVMInt32Type(); /* y */ - arg_types[3] = LLVMFloatType(); /* facing */ + arg_types[3] = LLVMInt32Type(); /* facing */ arg_types[4] = LLVMPointerType(fs_elem_type, 0); /* a0 */ arg_types[5] = LLVMPointerType(fs_elem_type, 0); /* dadx */ arg_types[6] = LLVMPointerType(fs_elem_type, 0); /* dady */ |