projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
94c73d1
)
gallium: Replace // comments.
author
José Fonseca
<jrfonseca@tungstengraphics.com>
Wed, 27 Feb 2008 07:42:15 +0000
(16:42 +0900)
committer
José Fonseca
<jrfonseca@tungstengraphics.com>
Wed, 27 Feb 2008 07:42:15 +0000
(16:42 +0900)
src/gallium/auxiliary/gallivm/gallivm.h
patch
|
blob
|
history
src/gallium/auxiliary/gallivm/gallivm_p.h
patch
|
blob
|
history
src/gallium/auxiliary/tgsi/exec/tgsi_sse2.c
patch
|
blob
|
history
src/gallium/auxiliary/tgsi/exec/tgsi_sse2.h
patch
|
blob
|
history
src/gallium/auxiliary/tgsi/util/tgsi_build.h
patch
|
blob
|
history
src/gallium/auxiliary/tgsi/util/tgsi_dump.h
patch
|
blob
|
history
src/gallium/auxiliary/tgsi/util/tgsi_parse.h
patch
|
blob
|
history
src/gallium/auxiliary/tgsi/util/tgsi_util.h
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/gallivm/gallivm.h
b/src/gallium/auxiliary/gallivm/gallivm.h
index 92da4bca7f4e8fd6561c8f6ba0e904b4e02a13c0..57912a952fb0c7d8e9f5477f42a493d173ea23cc 100644
(file)
--- a/
src/gallium/auxiliary/gallivm/gallivm.h
+++ b/
src/gallium/auxiliary/gallivm/gallivm.h
@@
-97,7
+97,7
@@
void gallivm_cpu_engine_delete(struct gallivm_cpu_engine *ee);
#endif /* MESA_LLVM */
#if defined __cplusplus
#endif /* MESA_LLVM */
#if defined __cplusplus
-}
// extern "C"
+}
#endif
#endif
#endif
#endif
diff --git
a/src/gallium/auxiliary/gallivm/gallivm_p.h
b/src/gallium/auxiliary/gallivm/gallivm_p.h
index cfe7b1901b371085811c2afc2cb76cf4aada5f78..ebf3e11cd566ba0074b51e1808f4c69899c4af7f 100644
(file)
--- a/
src/gallium/auxiliary/gallivm/gallivm_p.h
+++ b/
src/gallium/auxiliary/gallivm/gallivm_p.h
@@
-32,7
+32,7
@@
struct gallivm_ir {
int num_components;
int num_consts;
int num_components;
int num_consts;
- /
/FIXME: this might not be enough for some shaders
+ /
* FIXME: this might not be enough for some shaders */
struct gallivm_interpolate interpolators[32*4];
int num_interp;
};
struct gallivm_interpolate interpolators[32*4];
int num_interp;
};
@@
-46,7
+46,7
@@
struct gallivm_prog {
int num_consts;
int num_consts;
- /
/FIXME: this might not be enough for some shaders
+ /
* FIXME: this might not be enough for some shaders */
struct gallivm_interpolate interpolators[32*4];
int num_interp;
};
struct gallivm_interpolate interpolators[32*4];
int num_interp;
};
@@
-104,7
+104,7
@@
static INLINE int gallivm_w_swizzle(int swizzle)
#endif /* MESA_LLVM */
#if defined __cplusplus
#endif /* MESA_LLVM */
#if defined __cplusplus
-}
// extern "C"
+}
#endif
#endif
#endif
#endif
diff --git
a/src/gallium/auxiliary/tgsi/exec/tgsi_sse2.c
b/src/gallium/auxiliary/tgsi/exec/tgsi_sse2.c
index 779b901f2b8289734becb72a0f0ac33e5f0442ab..57ccd86be4c31a8eb2f744f198e840df12b33840 100755
(executable)
--- a/
src/gallium/auxiliary/tgsi/exec/tgsi_sse2.c
+++ b/
src/gallium/auxiliary/tgsi/exec/tgsi_sse2.c
@@
-1268,7
+1268,7
@@
emit_store(
break;
case TGSI_SAT_ZERO_ONE:
break;
case TGSI_SAT_ZERO_ONE:
-// assert( 0 );
+ /* assert( 0 ); */
break;
case TGSI_SAT_MINUS_PLUS_ONE:
break;
case TGSI_SAT_MINUS_PLUS_ONE:
diff --git
a/src/gallium/auxiliary/tgsi/exec/tgsi_sse2.h
b/src/gallium/auxiliary/tgsi/exec/tgsi_sse2.h
index 9bee3717665bc05c805938d058fe3efefa0d28d7..63b8ef3911247f521ed719eed9951ce581641393 100755
(executable)
--- a/
src/gallium/auxiliary/tgsi/exec/tgsi_sse2.h
+++ b/
src/gallium/auxiliary/tgsi/exec/tgsi_sse2.h
@@
-3,7
+3,7
@@
#if defined __cplusplus
extern "C" {
#if defined __cplusplus
extern "C" {
-#endif
// defined __cplusplus
+#endif
struct tgsi_token;
struct x86_function;
struct tgsi_token;
struct x86_function;
@@
-19,8
+19,8
@@
tgsi_emit_sse2_fs(
struct x86_function *function );
#if defined __cplusplus
struct x86_function *function );
#if defined __cplusplus
-}
// extern "C"
-#endif
// defined __cplusplus
+}
+#endif
-#endif /
/ !defined TGSI_SSE2_H
+#endif /
* TGSI_SSE2_H */
diff --git
a/src/gallium/auxiliary/tgsi/util/tgsi_build.h
b/src/gallium/auxiliary/tgsi/util/tgsi_build.h
index 116c78abf34a0eea1f1cb22791045474a1359071..607860e7fc5e6311a4582b49bc7712b0fc7b1fd3 100644
(file)
--- a/
src/gallium/auxiliary/tgsi/util/tgsi_build.h
+++ b/
src/gallium/auxiliary/tgsi/util/tgsi_build.h
@@
-3,7
+3,7
@@
#if defined __cplusplus
extern "C" {
#if defined __cplusplus
extern "C" {
-#endif
// defined __cplusplus
+#endif
/*
* version
/*
* version
@@
-313,8
+313,8
@@
tgsi_build_dst_register_ext_modulate(
struct tgsi_header *header );
#if defined __cplusplus
struct tgsi_header *header );
#if defined __cplusplus
-}
// extern "C"
-#endif
// defined __cplusplus
+}
+#endif
-#endif /
/ !defined TGSI_BUILD_H
+#endif /
* TGSI_BUILD_H */
diff --git
a/src/gallium/auxiliary/tgsi/util/tgsi_dump.h
b/src/gallium/auxiliary/tgsi/util/tgsi_dump.h
index 1adc9db2519bfd20b0b4616835275ea17c151657..b983b382268d64747af5918a9c049b958a55ad7f 100644
(file)
--- a/
src/gallium/auxiliary/tgsi/util/tgsi_dump.h
+++ b/
src/gallium/auxiliary/tgsi/util/tgsi_dump.h
@@
-3,7
+3,7
@@
#if defined __cplusplus
extern "C" {
#if defined __cplusplus
extern "C" {
-#endif
// defined __cplusplus
+#endif
#define TGSI_DUMP_VERBOSE 1
#define TGSI_DUMP_NO_IGNORED 2
#define TGSI_DUMP_VERBOSE 1
#define TGSI_DUMP_NO_IGNORED 2
@@
-21,8
+21,8
@@
tgsi_dump_str(
unsigned flags );
#if defined __cplusplus
unsigned flags );
#if defined __cplusplus
-}
// extern "C"
-#endif
// defined __cplusplus
+}
+#endif
-#endif /
/ !defined TGSI_DUMP_H
+#endif /
* TGSI_DUMP_H */
diff --git
a/src/gallium/auxiliary/tgsi/util/tgsi_parse.h
b/src/gallium/auxiliary/tgsi/util/tgsi_parse.h
index 9372da8d5d14c89f1f8c0bf33bc0cfb3ec3ce1cf..5ccb5bfcf68881caa7e012494dad06c49366d824 100644
(file)
--- a/
src/gallium/auxiliary/tgsi/util/tgsi_parse.h
+++ b/
src/gallium/auxiliary/tgsi/util/tgsi_parse.h
@@
-3,7
+3,7
@@
#if defined __cplusplus
extern "C" {
#if defined __cplusplus
extern "C" {
-#endif
// defined __cplusplus
+#endif
struct tgsi_full_version
{
struct tgsi_full_version
{
@@
-114,8
+114,8
@@
tgsi_parse_token(
struct tgsi_parse_context *ctx );
#if defined __cplusplus
struct tgsi_parse_context *ctx );
#if defined __cplusplus
-}
// extern "C"
-#endif
// defined __cplusplus
+}
+#endif
-#endif /
/ !defined TGSI_PARSE_H
+#endif /
* TGSI_PARSE_H */
diff --git
a/src/gallium/auxiliary/tgsi/util/tgsi_util.h
b/src/gallium/auxiliary/tgsi/util/tgsi_util.h
index ef14446f0e4dd427fac392df4d387f676ece4a0c..45f5f0be0e42ecc5ee232ba1f65e46a47f4bfba2 100644
(file)
--- a/
src/gallium/auxiliary/tgsi/util/tgsi_util.h
+++ b/
src/gallium/auxiliary/tgsi/util/tgsi_util.h
@@
-3,7
+3,7
@@
#if defined __cplusplus
extern "C" {
#if defined __cplusplus
extern "C" {
-#endif
// defined __cplusplus
+#endif
void *
tgsi_align_128bit(
void *
tgsi_align_128bit(
@@
-63,8
+63,8
@@
tgsi_util_set_full_src_register_sign_mode(
unsigned sign_mode );
#if defined __cplusplus
unsigned sign_mode );
#if defined __cplusplus
-}
// extern "C"
-#endif
// defined __cplusplus
+}
+#endif
-#endif /
/ !defined TGSI_UTIL_H
+#endif /
* TGSI_UTIL_H */