aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i965/brw_structs.h
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-11-01 12:08:14 +0000
committerKeith Whitwell <[email protected]>2009-11-01 12:08:14 +0000
commit9b18ca095503eb80f02db55baf9c35aa69ae1cc9 (patch)
treece0814233d6965d15ce55337a005c16add89452a /src/gallium/drivers/i965/brw_structs.h
parente7b76000826ff4faf8bf6a834d55b50a2784c9f2 (diff)
i965g: more work on compilation -- surface management
Diffstat (limited to 'src/gallium/drivers/i965/brw_structs.h')
-rw-r--r--src/gallium/drivers/i965/brw_structs.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gallium/drivers/i965/brw_structs.h b/src/gallium/drivers/i965/brw_structs.h
index f5d6a2599b4..bf10bc04de7 100644
--- a/src/gallium/drivers/i965/brw_structs.h
+++ b/src/gallium/drivers/i965/brw_structs.h
@@ -1048,7 +1048,7 @@ struct brw_sf_viewport
*/
struct brw_surface_state
{
- struct {
+ struct brw_surf_ss0 {
GLuint cube_pos_z:1;
GLuint cube_neg_z:1;
GLuint cube_pos_y:1;
@@ -1070,18 +1070,18 @@ struct brw_surface_state
GLuint surface_type:3; /**< BRW_SURFACE_1D/2D/3D/CUBE */
} ss0;
- struct {
+ struct brw_surf_ss1 {
GLuint base_addr;
} ss1;
- struct {
+ struct brw_surf_ss2 {
GLuint pad:2;
GLuint mip_count:4;
GLuint width:13;
GLuint height:13;
} ss2;
- struct {
+ struct brw_surf_ss3 {
GLuint tile_walk:1;
GLuint tiled_surface:1;
GLuint pad:1;
@@ -1089,7 +1089,7 @@ struct brw_surface_state
GLuint depth:11;
} ss3;
- struct {
+ struct brw_surf_ss4 {
GLuint multisample_position_palette_index:3;
GLuint pad1:1;
GLuint num_multisamples:3;
@@ -1099,7 +1099,7 @@ struct brw_surface_state
GLuint min_lod:4;
} ss4;
- struct {
+ struct brw_surf_ss5 {
GLuint pad1:16;
GLuint llc_mapping:1;
GLuint mlc_mapping:1;