projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r300g/compiler/tests: Add an assembly parser
[mesa.git]
/
src
/
gallium
/
drivers
/
r300
/
compiler
/
radeon_code.h
diff --git
a/src/gallium/drivers/r300/compiler/radeon_code.h
b/src/gallium/drivers/r300/compiler/radeon_code.h
index 4280d664f0a5706e75196bcab322bd26a23532f7..beafc26ffec8132dc0a0d4bcdea008d37e12e830 100644
(file)
--- a/
src/gallium/drivers/r300/compiler/radeon_code.h
+++ b/
src/gallium/drivers/r300/compiler/radeon_code.h
@@
-40,6
+40,9
@@
#define R500_PFS_MAX_BRANCH_DEPTH_FULL 32
#define R500_PFS_MAX_BRANCH_DEPTH_PARTIAL 4
#define R500_PFS_MAX_BRANCH_DEPTH_FULL 32
#define R500_PFS_MAX_BRANCH_DEPTH_PARTIAL 4
+/* The r500 maximum depth is not just for loops, but any combination of loops
+ * and subroutine jumps. */
+#define R500_PVS_MAX_LOOP_DEPTH 8
#define STATE_R300_WINDOW_DIMENSION (STATE_INTERNAL_DRIVER+0)
#define STATE_R300_WINDOW_DIMENSION (STATE_INTERNAL_DRIVER+0)
@@
-179,6
+182,8
@@
struct r300_fragment_program_external_state {
*/
unsigned convert_unorm_to_snorm:1;
} unit[16];
*/
unsigned convert_unorm_to_snorm:1;
} unit[16];
+
+ unsigned alpha_to_one:1;
};
};
@@
-262,9
+267,6
@@
struct rX00_fragment_program_code {
#define R300_VS_MAX_TEMPS 32
/* This is the max for all chipsets (r300-r500) */
#define R300_VS_MAX_FC_OPS 16
#define R300_VS_MAX_TEMPS 32
/* This is the max for all chipsets (r300-r500) */
#define R300_VS_MAX_FC_OPS 16
-/* The r500 maximum depth is not just for loops, but any combination of loops
- * and subroutine jumps. */
-#define R500_VS_MAX_FC_DEPTH 8
#define R300_VS_MAX_LOOP_DEPTH 1
#define VSF_MAX_INPUTS 32
#define R300_VS_MAX_LOOP_DEPTH 1
#define VSF_MAX_INPUTS 32