projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
intel/fs: Drop the gl_program from fs_visitor
[mesa.git]
/
src
/
gallium
/
drivers
/
llvmpipe
/
lp_state_setup.c
diff --git
a/src/gallium/drivers/llvmpipe/lp_state_setup.c
b/src/gallium/drivers/llvmpipe/lp_state_setup.c
index a57e2f04b6cd9f43ab293a7575bcda801ee8d1f1..915e21db52cfc9a0993d74fdd8e32782f1ab0981 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_state_setup.c
+++ b/
src/gallium/drivers/llvmpipe/lp_state_setup.c
@@
-29,7
+29,7
@@
#include "util/u_math.h"
#include "util/u_memory.h"
#include "util/simple_list.h"
#include "util/u_math.h"
#include "util/u_memory.h"
#include "util/simple_list.h"
-#include "
os
/os_time.h"
+#include "
util
/os_time.h"
#include "gallivm/lp_bld_arit.h"
#include "gallivm/lp_bld_bitarit.h"
#include "gallivm/lp_bld_const.h"
#include "gallivm/lp_bld_arit.h"
#include "gallivm/lp_bld_bitarit.h"
#include "gallivm/lp_bld_const.h"
@@
-624,8
+624,7
@@
set_noalias(LLVMBuilderRef builder,
int i;
for(i = 0; i < nr_args; ++i)
if(LLVMGetTypeKind(arg_types[i]) == LLVMPointerTypeKind)
int i;
for(i = 0; i < nr_args; ++i)
if(LLVMGetTypeKind(arg_types[i]) == LLVMPointerTypeKind)
- LLVMAddAttribute(LLVMGetParam(function, i),
- LLVMNoAliasAttribute);
+ lp_add_function_attr(function, i + 1, LP_FUNC_ATTR_NOALIAS);
}
static void
}
static void
@@
-728,8
+727,8
@@
generate_setup_variant(struct lp_setup_variant_key *key,
variant->no = setup_no++;
variant->no = setup_no++;
-
util_
snprintf(func_name, sizeof(func_name), "setup_variant_%u",
-
variant->no);
+ snprintf(func_name, sizeof(func_name), "setup_variant_%u",
+ variant->no);
variant->gallivm = gallivm = gallivm_create(func_name, lp->context);
if (!variant->gallivm) {
variant->gallivm = gallivm = gallivm_create(func_name, lp->context);
if (!variant->gallivm) {