projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r300g: add framebuffer state debug logging
[mesa.git]
/
src
/
gallium
/
drivers
/
r300
/
r300_tgsi_to_rc.h
diff --git
a/src/gallium/drivers/r300/r300_tgsi_to_rc.h
b/src/gallium/drivers/r300/r300_tgsi_to_rc.h
index f1e66f46bbc50b84968e7e242754c4883fac6dd5..97641a954b9c77497c3406d0820f760679748e0a 100644
(file)
--- a/
src/gallium/drivers/r300/r300_tgsi_to_rc.h
+++ b/
src/gallium/drivers/r300/r300_tgsi_to_rc.h
@@
-23,6
+23,8
@@
#ifndef R300_TGSI_TO_RC_H
#define R300_TGSI_TO_RC_H
#ifndef R300_TGSI_TO_RC_H
#define R300_TGSI_TO_RC_H
+#include "pipe/p_compiler.h"
+
struct radeon_compiler;
struct tgsi_full_declaration;
struct radeon_compiler;
struct tgsi_full_declaration;
@@
-39,8
+41,12
@@
struct tgsi_to_rc {
const struct tgsi_shader_info * info;
int immediate_offset;
const struct tgsi_shader_info * info;
int immediate_offset;
- struct swizzled_imms
imms_to_swizzle[10]
;
+ struct swizzled_imms
* imms_to_swizzle
;
unsigned imms_to_swizzle_count;
unsigned imms_to_swizzle_count;
+
+ /* Vertex shaders have no half swizzles, and no way to handle them, so
+ * until rc grows proper support, indicate if they're safe to use. */
+ boolean use_half_swizzles;
};
void r300_tgsi_to_rc(struct tgsi_to_rc * ttr, const struct tgsi_token * tokens);
};
void r300_tgsi_to_rc(struct tgsi_to_rc * ttr, const struct tgsi_token * tokens);