projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c441386
)
llvmpipe: Silence compiler warnings.
author
Vinson Lee
<vlee@vmware.com>
Mon, 28 Dec 2009 08:44:30 +0000
(
00:44
-0800)
committer
Vinson Lee
<vlee@vmware.com>
Mon, 28 Dec 2009 08:44:30 +0000
(
00:44
-0800)
src/gallium/drivers/llvmpipe/lp_bld_format_aos.c
patch
|
blob
|
history
src/gallium/drivers/llvmpipe/lp_bld_tgsi_soa.c
patch
|
blob
|
history
src/gallium/drivers/llvmpipe/lp_prim_vbuf.c
patch
|
blob
|
history
src/gallium/drivers/llvmpipe/lp_state_fs.c
patch
|
blob
|
history
src/gallium/drivers/llvmpipe/lp_tile_soa.h
patch
|
blob
|
history
src/gallium/drivers/llvmpipe/lp_winsys.h
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_bld_format_aos.c
b/src/gallium/drivers/llvmpipe/lp_bld_format_aos.c
index 5836e0173f9e0062662ab0cdbefc9fbd24170667..10e82f120bb7ef8f5042714a6b8e2474254e49f9 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_bld_format_aos.c
+++ b/
src/gallium/drivers/llvmpipe/lp_bld_format_aos.c
@@
-130,7
+130,7
@@
lp_build_unpack_rgba_aos(LLVMBuilderRef builder,
shifted = LLVMBuildLShr(builder, packed, LLVMConstVector(shifts, 4), "");
masked = LLVMBuildAnd(builder, shifted, LLVMConstVector(masks, 4), "");
- /
/ UIToFP can't be expressed in SSE2
+ /
* UIToFP can't be expressed in SSE2 */
casted = LLVMBuildSIToFP(builder, masked, LLVMVectorType(LLVMFloatType(), 4), "");
if (normalized)
diff --git
a/src/gallium/drivers/llvmpipe/lp_bld_tgsi_soa.c
b/src/gallium/drivers/llvmpipe/lp_bld_tgsi_soa.c
index 94ce4ae83186e38076249a7a306af0274ab4145c..52554b950c89c7760c3cff5a7295ddbf30618285 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_bld_tgsi_soa.c
+++ b/
src/gallium/drivers/llvmpipe/lp_bld_tgsi_soa.c
@@
-321,7
+321,7
@@
emit_tex( struct lp_build_tgsi_soa_context *bld,
{
const uint unit = inst->FullSrcRegisters[1].SrcRegister.Index;
LLVMValueRef lodbias;
- LLVMValueRef oow;
+ LLVMValueRef oow
= NULL
;
LLVMValueRef coords[3];
unsigned num_coords;
unsigned i;
diff --git
a/src/gallium/drivers/llvmpipe/lp_prim_vbuf.c
b/src/gallium/drivers/llvmpipe/lp_prim_vbuf.c
index 4abff4eccccbe0050c4bbc6f3be631be6109689d..e8e2e2524ac7679b08ed1c6db7f5b36739dcd657 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_prim_vbuf.c
+++ b/
src/gallium/drivers/llvmpipe/lp_prim_vbuf.c
@@
-128,6
+128,7
@@
lp_vbuf_unmap_vertices(struct vbuf_render *vbr,
{
struct llvmpipe_vbuf_render *cvbr = llvmpipe_vbuf_render(vbr);
assert( cvbr->vertex_buffer_size >= (max_index+1) * cvbr->vertex_size );
+ (void) cvbr;
/* do nothing */
}
diff --git
a/src/gallium/drivers/llvmpipe/lp_state_fs.c
b/src/gallium/drivers/llvmpipe/lp_state_fs.c
index 2e9aa9fffe377ac9abc972eef7b6c41761dea364..8e2aae40afa0926529160be642bf2ab8ae7a0c24 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_state_fs.c
+++ b/
src/gallium/drivers/llvmpipe/lp_state_fs.c
@@
-676,6
+676,7
@@
llvmpipe_delete_fs_state(struct pipe_context *pipe, void *fs)
struct lp_fragment_shader_variant *variant;
assert(fs != llvmpipe->fs);
+ (void) llvmpipe;
variant = shader->variants;
while(variant) {
diff --git
a/src/gallium/drivers/llvmpipe/lp_tile_soa.h
b/src/gallium/drivers/llvmpipe/lp_tile_soa.h
index 040b01865dd35753af9de5ca607ded4c7dc4a7e5..19d00b58d37aeb73e5b482a7292c36abce074d54 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_tile_soa.h
+++ b/
src/gallium/drivers/llvmpipe/lp_tile_soa.h
@@
-29,7
+29,7
@@
#define LP_TILE_SOA_H
#include "pipe/p_compiler.h"
-#include "tgsi/tgsi_exec.h" /
/ for NUM_CHANNELS
+#include "tgsi/tgsi_exec.h" /
* for NUM_CHANNELS */
#ifdef __cplusplus
diff --git
a/src/gallium/drivers/llvmpipe/lp_winsys.h
b/src/gallium/drivers/llvmpipe/lp_winsys.h
index 595481c2cbc21e4fce33fb332e6ee8cf56266a66..74b472b653137793315c63eea710e3644cc10d7e 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_winsys.h
+++ b/
src/gallium/drivers/llvmpipe/lp_winsys.h
@@
-35,7
+35,7
@@
#define LP_WINSYS_H
-#include "pipe/p_compiler.h" /
/ for boolean
+#include "pipe/p_compiler.h" /
* for boolean */
#include "pipe/p_format.h"