projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
i965: Drop the check for YUV constants in the param list.
[mesa.git]
/
src
/
mesa
/
drivers
/
dri
/
i965
/
brw_sf.h
diff --git
a/src/mesa/drivers/dri/i965/brw_sf.h
b/src/mesa/drivers/dri/i965/brw_sf.h
index 1c0fb70fe069218c1ceeef991172be301dbcc52d..e525c730d3f4310fa57e243d1a8f961f5b91b433 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_sf.h
+++ b/
src/mesa/drivers/dri/i965/brw_sf.h
@@
-34,7
+34,7
@@
#define BRW_SF_H
#define BRW_SF_H
-#include "
shader
/program.h"
+#include "
program
/program.h"
#include "brw_context.h"
#include "brw_eu.h"
#include "brw_context.h"
#include "brw_eu.h"
@@
-45,18
+45,16
@@
#define SF_UNFILLED_TRIS 3
struct brw_sf_prog_key {
#define SF_UNFILLED_TRIS 3
struct brw_sf_prog_key {
- GLuint attrs:32;
+ GLbitfield64 attrs;
+ uint8_t point_sprite_coord_replace;
GLuint primitive:2;
GLuint do_twoside_color:1;
GLuint do_flat_shading:1;
GLuint frontface_ccw:1;
GLuint do_point_sprite:1;
GLuint primitive:2;
GLuint do_twoside_color:1;
GLuint do_flat_shading:1;
GLuint frontface_ccw:1;
GLuint do_point_sprite:1;
- GLuint pad:10;
- GLenum SpriteOrigin;
-};
-
-struct brw_sf_point_tex {
- GLboolean CoordReplace;
+ GLuint linear_color:1; /**< linear interp vs. perspective interp */
+ GLuint sprite_origin_lower_left:1;
+ GLuint pad:24;
};
struct brw_sf_compile {
};
struct brw_sf_compile {
@@
-99,7
+97,6
@@
struct brw_sf_compile {
GLubyte attr_to_idx[VERT_RESULT_MAX];
GLubyte idx_to_attr[VERT_RESULT_MAX];
GLubyte attr_to_idx[VERT_RESULT_MAX];
GLubyte idx_to_attr[VERT_RESULT_MAX];
- struct brw_sf_point_tex point_attrs[VERT_RESULT_MAX];
};
};