summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i965/brw_context.h
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-11-04 13:03:35 +0000
committerKeith Whitwell <[email protected]>2009-11-04 13:03:35 +0000
commit211d7ab22b13430aaae00a0dfe95492450bcca20 (patch)
treedb312543dec8016161b9df2afa596412bf34fbeb /src/gallium/drivers/i965/brw_context.h
parenta277bb20debc413f6ccf46f529497bf8bafa64dd (diff)
i965g: add standalone xlib debug winsys
Create a dummy winsys that just debug-prints on calls into the winsys functions. Will use this to get to the point where we are generating sane-looking debug dumps and diassembly. Also fix various warnings generated with the new compiler flags set in this config.
Diffstat (limited to 'src/gallium/drivers/i965/brw_context.h')
-rw-r--r--src/gallium/drivers/i965/brw_context.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/drivers/i965/brw_context.h b/src/gallium/drivers/i965/brw_context.h
index b94c5114995..97b2a8e27dd 100644
--- a/src/gallium/drivers/i965/brw_context.h
+++ b/src/gallium/drivers/i965/brw_context.h
@@ -167,8 +167,8 @@ struct brw_fragment_shader {
unsigned iz_lookup;
//unsigned wm_lookup;
- boolean uses_depth:1;
- boolean has_flow_control:1;
+ unsigned uses_depth:1;
+ unsigned has_flow_control:1;
unsigned id;
struct brw_winsys_buffer *const_buffer; /** Program constant buffer/surface */
@@ -573,6 +573,7 @@ struct brw_context
} vb[PIPE_MAX_ATTRIBS];
struct {
+ int dummy;
} ve[PIPE_MAX_ATTRIBS];
unsigned nr_vb; /* currently the same as curr.num_vertex_buffers */