projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
intel: Replace IS_G4X() across the driver with context structure usage.
[mesa.git]
/
src
/
mesa
/
drivers
/
dri
/
i965
/
brw_context.h
diff --git
a/src/mesa/drivers/dri/i965/brw_context.h
b/src/mesa/drivers/dri/i965/brw_context.h
index e73e21433c56bb0b8442c0986aa9b30b237760dc..4ae48bba0563aac5e08ad827c3a8c028dff5bc88 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_context.h
+++ b/
src/mesa/drivers/dri/i965/brw_context.h
@@
-438,7
+438,9
@@
struct brw_context
GLuint primitive;
GLboolean emit_state_always;
GLuint primitive;
GLboolean emit_state_always;
-
+ GLboolean has_surface_tile_offset;
+ GLboolean has_compr4;
+;
struct {
struct brw_state_flags dirty;
struct {
struct brw_state_flags dirty;
@@
-514,6
+516,12
@@
struct brw_context
*/
GLuint next_free_page;
*/
GLuint next_free_page;
+ /* hw-dependent 3DSTATE_VF_STATISTICS opcode */
+ uint32_t CMD_VF_STATISTICS;
+ /* hw-dependent 3DSTATE_PIPELINE_SELECT opcode */
+ uint32_t CMD_PIPELINE_SELECT;
+ int vs_max_threads;
+ int wm_max_threads;
/* BRW_NEW_URB_ALLOCATIONS:
*/
/* BRW_NEW_URB_ALLOCATIONS:
*/
@@
-541,6
+549,7
@@
struct brw_context
GLuint clip_start;
GLuint sf_start;
GLuint cs_start;
GLuint clip_start;
GLuint sf_start;
GLuint cs_start;
+ GLuint size; /* Hardware URB size, in KB. */
} urb;
} urb;