2 Copyright (C) Intel Corp. 2006. All Rights Reserved.
3 Intel funded Tungsten Graphics (http://www.tungstengraphics.com) to
4 develop this 3D driver.
6 Permission is hereby granted, free of charge, to any person obtaining
7 a copy of this software and associated documentation files (the
8 "Software"), to deal in the Software without restriction, including
9 without limitation the rights to use, copy, modify, merge, publish,
10 distribute, sublicense, and/or sell copies of the Software, and to
11 permit persons to whom the Software is furnished to do so, subject to
12 the following conditions:
14 The above copyright notice and this permission notice (including the
15 next paragraph) shall be included in all copies or substantial
16 portions of the Software.
18 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
19 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
21 IN NO EVENT SHALL THE COPYRIGHT OWNER(S) AND/OR ITS SUPPLIERS BE
22 LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
23 OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
24 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
26 **********************************************************************/
29 * Keith Whitwell <keith@tungstengraphics.com>
36 #include "brw_types.h"
38 /** Number of general purpose registers (VS, WM, etc) */
39 #define BRW_MAX_GRF 128
41 /** Number of message register file registers */
42 #define BRW_MAX_MRF 16
65 GLuint notify_enable
:1;
67 GLuint wc_flush_enable
:1;
68 GLuint depth_stall_enable
:1;
76 GLuint dest_addr_type
:1;
85 struct brw_3d_primitive
96 GLuint verts_per_instance
;
97 GLuint start_vert_location
;
98 GLuint instance_count
;
99 GLuint start_instance_location
;
100 GLuint base_vert_location
;
103 /* These seem to be passed around as function args, so it works out
104 * better to keep them as #defines:
106 #define BRW_FLUSH_READ_CACHE 0x1
107 #define BRW_FLUSH_STATE_CACHE 0x2
108 #define BRW_INHIBIT_FLUSH_RENDER_CACHE 0x4
109 #define BRW_FLUSH_SNAPSHOT_COUNTERS 0x8
118 struct brw_vf_statistics
120 GLuint statistics_enable
:1;
127 struct brw_binding_table_pointers
129 struct header header
;
138 struct brw_blend_constant_color
140 struct header header
;
141 GLfloat blend_constant_color
[4];
145 struct brw_depthbuffer
147 union header_union header
;
154 GLuint software_tiled_rendering_mode
:2;
155 GLuint depth_offset_disable
:1;
157 GLuint tiled_surface
:1;
159 GLuint surface_type
:3;
164 GLuint dword2_base_addr
;
169 GLuint mipmap_layout
:1;
180 GLuint min_array_element
:11;
187 struct brw_depthbuffer_g4x
189 union header_union header
;
196 GLuint software_tiled_rendering_mode
:2;
197 GLuint depth_offset_disable
:1;
199 GLuint tiled_surface
:1;
201 GLuint surface_type
:3;
206 GLuint dword2_base_addr
;
211 GLuint mipmap_layout
:1;
222 GLuint min_array_element
:11;
234 } dword5
; /* NEW in Integrated Graphics Device */
239 struct header header
;
251 struct brw_global_depth_offset_clamp
253 struct header header
;
254 GLfloat depth_offset_clamp
;
257 struct brw_indexbuffer
263 GLuint index_format
:2;
264 GLuint cut_index_enable
:1;
276 /* NEW in Integrated Graphics Device */
277 struct brw_aa_line_parameters
279 struct header header
;
282 GLuint aa_coverage_scope
:8;
284 GLuint aa_coverage_bias
:8;
289 GLuint aa_coverage_endcap_slope
:8;
291 GLuint aa_coverage_endcap_bias
:8;
296 struct brw_line_stipple
298 struct header header
;
308 GLuint repeat_count
:9;
310 GLuint inverse_repeat_count
:16;
315 struct brw_pipelined_state_pointers
317 struct header header
;
321 GLuint offset
:27; /* Offset from GENERAL_STATE_BASE */
328 GLuint offset
:27; /* Offset from GENERAL_STATE_BASE */
335 GLuint offset
:27; /* Offset from GENERAL_STATE_BASE */
341 GLuint offset
:27; /* Offset from GENERAL_STATE_BASE */
347 GLuint offset
:27; /* Offset from GENERAL_STATE_BASE */
353 GLuint offset
:27; /* Offset from GENERAL_STATE_BASE. KW: check me! */
358 struct brw_polygon_stipple_offset
360 struct header header
;
372 struct brw_polygon_stipple
374 struct header header
;
380 struct brw_pipeline_select
384 GLuint pipeline_select
:1;
391 struct brw_pipe_control
396 GLuint notify_enable
:1;
397 GLuint texture_cache_flush_enable
:1;
398 GLuint indirect_state_pointers_disable
:1;
399 GLuint instruction_state_cache_flush_enable
:1;
400 GLuint write_cache_flush_enable
:1;
401 GLuint depth_stall_enable
:1;
402 GLuint post_sync_operation
:2;
410 GLuint dest_addr_type
:1;
426 GLuint clp_realloc
:1;
428 GLuint vfe_realloc
:1;
451 struct brw_cs_urb_state
453 struct header header
;
457 GLuint nr_urb_entries
:3;
459 GLuint urb_entry_size
:5;
464 struct brw_constant_buffer
476 GLuint buffer_length
:6;
477 GLuint buffer_address
:26;
481 struct brw_state_base_address
483 struct header header
;
487 GLuint modify_enable
:1;
489 GLuint general_state_address
:27;
494 GLuint modify_enable
:1;
496 GLuint surface_state_address
:27;
501 GLuint modify_enable
:1;
503 GLuint indirect_object_state_address
:27;
508 GLuint modify_enable
:1;
510 GLuint general_state_upper_bound
:20;
515 GLuint modify_enable
:1;
517 GLuint indirect_object_state_upper_bound
:20;
521 struct brw_state_prefetch
523 struct header header
;
527 GLuint prefetch_count
:3;
529 GLuint prefetch_pointer
:26;
533 struct brw_system_instruction_pointer
535 struct header header
;
540 GLuint system_instruction_pointer
:28;
547 /* State structs for the various fixed function units:
554 GLuint grf_reg_count
:3;
556 GLuint kernel_start_pointer
:26; /* Offset from GENERAL_STATE_BASE */
561 GLuint ext_halt_exception_enable
:1;
562 GLuint sw_exception_enable
:1;
563 GLuint mask_stack_exception_enable
:1;
564 GLuint timeout_exception_enable
:1;
565 GLuint illegal_op_exception_enable
:1;
567 GLuint depth_coef_urb_read_offset
:6; /* WM only */
569 GLuint floating_point_mode
:1;
570 GLuint thread_priority
:1;
571 GLuint binding_table_entry_count
:8;
573 GLuint single_program_flow
:1;
578 GLuint per_thread_scratch_space
:4;
580 GLuint scratch_space_base_pointer
:22;
586 GLuint dispatch_grf_start_reg
:4;
587 GLuint urb_entry_read_offset
:6;
589 GLuint urb_entry_read_length
:6;
591 GLuint const_urb_entry_read_offset
:6;
593 GLuint const_urb_entry_read_length
:6;
599 struct brw_clip_unit_state
601 struct thread0 thread0
;
605 GLuint sw_exception_enable
:1;
607 GLuint mask_stack_exception_enable
:1;
609 GLuint illegal_op_exception_enable
:1;
611 GLuint floating_point_mode
:1;
612 GLuint thread_priority
:1;
613 GLuint binding_table_entry_count
:8;
615 GLuint single_program_flow
:1;
618 struct thread2 thread2
;
619 struct thread3 thread3
;
624 GLuint gs_output_stats
:1; /* not always */
625 GLuint stats_enable
:1;
626 GLuint nr_urb_entries
:7;
628 GLuint urb_entry_allocation_size
:5;
630 GLuint max_threads
:5; /* may be less */
638 GLuint userclip_enable_flags
:8;
639 GLuint userclip_must_clip
:1;
640 GLuint negative_w_clip_test
:1;
641 GLuint guard_band_enable
:1;
642 GLuint viewport_z_clip_enable
:1;
643 GLuint viewport_xy_clip_enable
:1;
644 GLuint vertex_position_space
:1;
652 GLuint clipper_viewport_state_ptr
:27;
656 GLfloat viewport_xmin
;
657 GLfloat viewport_xmax
;
658 GLfloat viewport_ymin
;
659 GLfloat viewport_ymax
;
664 struct brw_cc_unit_state
669 GLuint bf_stencil_pass_depth_pass_op
:3;
670 GLuint bf_stencil_pass_depth_fail_op
:3;
671 GLuint bf_stencil_fail_op
:3;
672 GLuint bf_stencil_func
:3;
673 GLuint bf_stencil_enable
:1;
675 GLuint stencil_write_enable
:1;
676 GLuint stencil_pass_depth_pass_op
:3;
677 GLuint stencil_pass_depth_fail_op
:3;
678 GLuint stencil_fail_op
:3;
679 GLuint stencil_func
:3;
680 GLuint stencil_enable
:1;
686 GLuint bf_stencil_ref
:8;
687 GLuint stencil_write_mask
:8;
688 GLuint stencil_test_mask
:8;
689 GLuint stencil_ref
:8;
695 GLuint logicop_enable
:1;
697 GLuint depth_write_enable
:1;
698 GLuint depth_test_function
:3;
700 GLuint bf_stencil_write_mask
:8;
701 GLuint bf_stencil_test_mask
:8;
708 GLuint alpha_test_func
:3;
710 GLuint blend_enable
:1;
711 GLuint ia_blend_enable
:1;
713 GLuint alpha_test_format
:1;
720 GLuint cc_viewport_state_offset
:27; /* Offset from GENERAL_STATE_BASE */
726 GLuint ia_dest_blend_factor
:5;
727 GLuint ia_src_blend_factor
:5;
728 GLuint ia_blend_function
:3;
729 GLuint statistics_enable
:1;
730 GLuint logicop_func
:4;
732 GLuint dither_enable
:1;
737 GLuint clamp_post_alpha_blend
:1;
738 GLuint clamp_pre_alpha_blend
:1;
739 GLuint clamp_range
:2;
741 GLuint y_dither_offset
:2;
742 GLuint x_dither_offset
:2;
743 GLuint dest_blend_factor
:5;
744 GLuint src_blend_factor
:5;
745 GLuint blend_function
:3;
758 struct brw_sf_unit_state
760 struct thread0 thread0
;
761 struct thread1 thread1
;
762 struct thread2 thread2
;
763 struct thread3 thread3
;
768 GLuint stats_enable
:1;
769 GLuint nr_urb_entries
:7;
771 GLuint urb_entry_allocation_size
:5;
773 GLuint max_threads
:6;
779 GLuint front_winding
:1;
780 GLuint viewport_transform
:1;
782 GLuint sf_viewport_state_offset
:27; /* Offset from GENERAL_STATE_BASE */
788 GLuint dest_org_vbias
:4;
789 GLuint dest_org_hbias
:4;
791 GLuint disable_2x2_trifilter
:1;
792 GLuint disable_zero_pix_trifilter
:1;
793 GLuint point_rast_rule
:2;
794 GLuint line_endcap_aa_region_width
:2;
796 GLuint fast_scissor_disable
:1;
803 GLuint point_size
:11;
804 GLuint use_point_size_state
:1;
805 GLuint subpixel_precision
:1;
806 GLuint sprite_point
:1;
808 GLuint aa_line_distance_mode
:1;
810 GLuint linestrip_pv
:2;
811 GLuint tristrip_pv
:2;
812 GLuint line_last_pixel_enable
:1;
818 struct brw_gs_unit_state
820 struct thread0 thread0
;
821 struct thread1 thread1
;
822 struct thread2 thread2
;
823 struct thread3 thread3
;
828 GLuint rendering_enable
:1; /* for IGDNG */
830 GLuint stats_enable
:1;
831 GLuint nr_urb_entries
:7;
833 GLuint urb_entry_allocation_size
:5;
835 GLuint max_threads
:5;
841 GLuint sampler_count
:3;
843 GLuint sampler_state_pointer
:27;
849 GLuint max_vp_index
:4;
851 GLuint svbi_post_inc_value
:10;
853 GLuint svbi_post_inc_enable
:1;
854 GLuint svbi_payload
:1;
855 GLuint discard_adjaceny
:1;
856 GLuint reorder_enable
:1;
862 struct brw_vs_unit_state
864 struct thread0 thread0
;
865 struct thread1 thread1
;
866 struct thread2 thread2
;
867 struct thread3 thread3
;
872 GLuint stats_enable
:1;
873 GLuint nr_urb_entries
:7;
875 GLuint urb_entry_allocation_size
:5;
877 GLuint max_threads
:6;
883 GLuint sampler_count
:3;
885 GLuint sampler_state_pointer
:27;
891 GLuint vert_cache_disable
:1;
897 struct brw_wm_unit_state
899 struct thread0 thread0
;
900 struct thread1 thread1
;
901 struct thread2 thread2
;
902 struct thread3 thread3
;
905 GLuint stats_enable
:1;
906 GLuint depth_buffer_clear
:1;
907 GLuint sampler_count
:3;
908 GLuint sampler_state_pointer
:27;
913 GLuint enable_8_pix
:1;
914 GLuint enable_16_pix
:1;
915 GLuint enable_32_pix
:1;
916 GLuint enable_con_32_pix
:1;
917 GLuint enable_con_64_pix
:1;
919 GLuint legacy_global_depth_bias
:1;
920 GLuint line_stipple
:1;
921 GLuint depth_offset
:1;
922 GLuint polygon_stipple
:1;
923 GLuint line_aa_region_width
:2;
924 GLuint line_endcap_aa_region_width
:2;
925 GLuint early_depth_test
:1;
926 GLuint thread_dispatch_enable
:1;
927 GLuint program_uses_depth
:1;
928 GLuint program_computes_depth
:1;
929 GLuint program_uses_killpixel
:1;
930 GLuint legacy_line_rast
: 1;
931 GLuint transposed_urb_read_enable
:1;
932 GLuint max_threads
:7;
935 GLfloat global_depth_offset_constant
;
936 GLfloat global_depth_offset_scale
;
941 GLuint grf_reg_count_1
:3;
943 GLuint kernel_start_pointer_1
:26;
948 GLuint grf_reg_count_2
:3;
950 GLuint kernel_start_pointer_2
:26;
955 GLuint grf_reg_count_3
:3;
957 GLuint kernel_start_pointer_3
:26;
961 struct brw_sampler_default_color
{
965 struct brw_sampler_state
970 GLuint shadow_function
:3;
977 GLuint lod_preclamp
:1;
978 GLuint default_color_mode
:1;
985 GLuint r_wrap_mode
:3;
986 GLuint t_wrap_mode
:3;
987 GLuint s_wrap_mode
:3;
997 GLuint default_color_pointer
:27;
1004 GLuint chroma_key_mode
:1;
1005 GLuint chroma_key_index
:2;
1006 GLuint chroma_key_enable
:1;
1007 GLuint monochrome_filter_width
:3;
1008 GLuint monochrome_filter_height
:3;
1013 struct brw_clipper_viewport
1021 struct brw_cc_viewport
1027 struct brw_sf_viewport
1038 /* scissor coordinates are inclusive */
1047 /* Documented in the subsystem/shared-functions/sampler chapter...
1049 struct brw_surface_state
1051 struct brw_surf_ss0
{
1052 GLuint cube_pos_z
:1;
1053 GLuint cube_neg_z
:1;
1054 GLuint cube_pos_y
:1;
1055 GLuint cube_neg_y
:1;
1056 GLuint cube_pos_x
:1;
1057 GLuint cube_neg_x
:1;
1059 GLuint mipmap_layout_mode
:1;
1060 GLuint vert_line_stride_ofs
:1;
1061 GLuint vert_line_stride
:1;
1062 GLuint color_blend
:1;
1063 GLuint writedisable_blue
:1;
1064 GLuint writedisable_green
:1;
1065 GLuint writedisable_red
:1;
1066 GLuint writedisable_alpha
:1;
1067 GLuint surface_format
:9; /**< BRW_SURFACEFORMAT_x */
1068 GLuint data_return_format
:1;
1070 GLuint surface_type
:3; /**< BRW_SURFACE_1D/2D/3D/CUBE */
1073 struct brw_surf_ss1
{
1077 struct brw_surf_ss2
{
1084 struct brw_surf_ss3
{
1086 GLuint tiled_surface
:1;
1092 struct brw_surf_ss4
{
1093 GLuint multisample_position_palette_index
:3;
1095 GLuint num_multisamples
:3;
1097 GLuint render_target_view_extent
:9;
1098 GLuint min_array_elt
:11;
1102 struct brw_surf_ss5
{
1104 GLuint llc_mapping
:1;
1105 GLuint mlc_mapping
:1;
1111 } ss5
; /* New in G4X */
1117 struct brw_vertex_buffer_state
1122 GLuint access_type
:1;
1129 GLuint instance_data_step_rate
; /* not included for sequential/random vertices? */
1133 #define BRW_VBP_MAX 17
1135 struct brw_vb_array_state
{
1136 struct header header
;
1137 struct brw_vertex_buffer_state vb
[BRW_VBP_MAX
];
1141 struct brw_vertex_element_state
1145 GLuint src_offset
:11;
1147 GLuint src_format
:9;
1150 GLuint vertex_buffer_index
:5;
1155 GLuint dst_offset
:8;
1157 GLuint vfcomponent3
:4;
1158 GLuint vfcomponent2
:4;
1159 GLuint vfcomponent1
:4;
1160 GLuint vfcomponent0
:4;
1164 #define BRW_VEP_MAX 18
1166 struct brw_vertex_element_packet
{
1167 struct header header
;
1168 struct brw_vertex_element_state ve
[BRW_VEP_MAX
]; /* note: less than _TNL_ATTRIB_MAX */
1172 struct brw_urb_immediate
{
1175 GLuint swizzle_control
:2;
1180 GLuint response_length
:4;
1181 GLuint msg_length
:4;
1182 GLuint msg_target
:4;
1184 GLuint end_of_thread
:1;
1187 /* Instruction format for the execution units:
1190 struct brw_instruction
1196 GLuint access_mode
:1;
1197 GLuint mask_control
:1;
1198 GLuint dependency_control
:2;
1199 GLuint compression_control
:2;
1200 GLuint thread_control
:2;
1201 GLuint predicate_control
:4;
1202 GLuint predicate_inverse
:1;
1203 GLuint execution_size
:3;
1204 GLuint destreg__conditionalmod
:4; /* destreg - send, conditionalmod - others */
1206 GLuint debug_control
:1;
1213 GLuint dest_reg_file
:2;
1214 GLuint dest_reg_type
:3;
1215 GLuint src0_reg_file
:2;
1216 GLuint src0_reg_type
:3;
1217 GLuint src1_reg_file
:2;
1218 GLuint src1_reg_type
:3;
1220 GLuint dest_subreg_nr
:5;
1221 GLuint dest_reg_nr
:8;
1222 GLuint dest_horiz_stride
:2;
1223 GLuint dest_address_mode
:1;
1228 GLuint dest_reg_file
:2;
1229 GLuint dest_reg_type
:3;
1230 GLuint src0_reg_file
:2;
1231 GLuint src0_reg_type
:3;
1232 GLuint src1_reg_file
:2; /* 0x00000c00 */
1233 GLuint src1_reg_type
:3; /* 0x00007000 */
1235 GLint dest_indirect_offset
:10; /* offset against the deref'd address reg */
1236 GLuint dest_subreg_nr
:3; /* subnr for the address reg a0.x */
1237 GLuint dest_horiz_stride
:2;
1238 GLuint dest_address_mode
:1;
1243 GLuint dest_reg_file
:2;
1244 GLuint dest_reg_type
:3;
1245 GLuint src0_reg_file
:2;
1246 GLuint src0_reg_type
:3;
1247 GLuint src1_reg_file
:2;
1248 GLuint src1_reg_type
:3;
1250 GLuint dest_writemask
:4;
1251 GLuint dest_subreg_nr
:1;
1252 GLuint dest_reg_nr
:8;
1254 GLuint dest_address_mode
:1;
1259 GLuint dest_reg_file
:2;
1260 GLuint dest_reg_type
:3;
1261 GLuint src0_reg_file
:2;
1262 GLuint src0_reg_type
:3;
1264 GLuint dest_writemask
:4;
1265 GLint dest_indirect_offset
:6;
1266 GLuint dest_subreg_nr
:3;
1268 GLuint dest_address_mode
:1;
1276 GLuint src0_subreg_nr
:5;
1277 GLuint src0_reg_nr
:8;
1279 GLuint src0_negate
:1;
1280 GLuint src0_address_mode
:1;
1281 GLuint src0_horiz_stride
:2;
1282 GLuint src0_width
:3;
1283 GLuint src0_vert_stride
:4;
1284 GLuint flag_reg_nr
:1;
1290 GLint src0_indirect_offset
:10;
1291 GLuint src0_subreg_nr
:3;
1293 GLuint src0_negate
:1;
1294 GLuint src0_address_mode
:1;
1295 GLuint src0_horiz_stride
:2;
1296 GLuint src0_width
:3;
1297 GLuint src0_vert_stride
:4;
1298 GLuint flag_reg_nr
:1;
1304 GLuint src0_swz_x
:2;
1305 GLuint src0_swz_y
:2;
1306 GLuint src0_subreg_nr
:1;
1307 GLuint src0_reg_nr
:8;
1309 GLuint src0_negate
:1;
1310 GLuint src0_address_mode
:1;
1311 GLuint src0_swz_z
:2;
1312 GLuint src0_swz_w
:2;
1314 GLuint src0_vert_stride
:4;
1315 GLuint flag_reg_nr
:1;
1321 GLuint src0_swz_x
:2;
1322 GLuint src0_swz_y
:2;
1323 GLint src0_indirect_offset
:6;
1324 GLuint src0_subreg_nr
:3;
1326 GLuint src0_negate
:1;
1327 GLuint src0_address_mode
:1;
1328 GLuint src0_swz_z
:2;
1329 GLuint src0_swz_w
:2;
1331 GLuint src0_vert_stride
:4;
1332 GLuint flag_reg_nr
:1;
1339 GLuint end_of_thread
:1;
1342 } send_igdng
; /* for IGDNG only */
1350 GLuint src1_subreg_nr
:5;
1351 GLuint src1_reg_nr
:8;
1353 GLuint src1_negate
:1;
1354 GLuint src1_address_mode
:1;
1355 GLuint src1_horiz_stride
:2;
1356 GLuint src1_width
:3;
1357 GLuint src1_vert_stride
:4;
1363 GLuint src1_swz_x
:2;
1364 GLuint src1_swz_y
:2;
1365 GLuint src1_subreg_nr
:1;
1366 GLuint src1_reg_nr
:8;
1368 GLuint src1_negate
:1;
1369 GLuint src1_address_mode
:1;
1370 GLuint src1_swz_z
:2;
1371 GLuint src1_swz_w
:2;
1373 GLuint src1_vert_stride
:4;
1379 GLint src1_indirect_offset
:10;
1380 GLuint src1_subreg_nr
:3;
1382 GLuint src1_negate
:1;
1383 GLuint src1_address_mode
:1;
1384 GLuint src1_horiz_stride
:2;
1385 GLuint src1_width
:3;
1386 GLuint src1_vert_stride
:4;
1387 GLuint flag_reg_nr
:1;
1393 GLuint src1_swz_x
:2;
1394 GLuint src1_swz_y
:2;
1395 GLint src1_indirect_offset
:6;
1396 GLuint src1_subreg_nr
:3;
1398 GLuint src1_negate
:1;
1400 GLuint src1_swz_z
:2;
1401 GLuint src1_swz_w
:2;
1403 GLuint src1_vert_stride
:4;
1404 GLuint flag_reg_nr
:1;
1411 GLint jump_count
:16; /* note: signed */
1423 GLuint response_length
:4;
1424 GLuint msg_length
:4;
1425 GLuint msg_target
:4;
1427 GLuint end_of_thread
:1;
1438 GLuint header_present
:1;
1439 GLuint response_length
:5;
1440 GLuint msg_length
:4;
1442 GLuint end_of_thread
:1;
1446 GLuint binding_table_index
:8;
1448 GLuint return_format
:2;
1450 GLuint response_length
:4;
1451 GLuint msg_length
:4;
1452 GLuint msg_target
:4;
1454 GLuint end_of_thread
:1;
1458 GLuint binding_table_index
:8;
1461 GLuint response_length
:4;
1462 GLuint msg_length
:4;
1463 GLuint msg_target
:4;
1465 GLuint end_of_thread
:1;
1469 GLuint binding_table_index
:8;
1474 GLuint header_present
:1;
1475 GLuint response_length
:5;
1476 GLuint msg_length
:4;
1478 GLuint end_of_thread
:1;
1481 struct brw_urb_immediate urb
;
1486 GLuint swizzle_control
:2;
1492 GLuint header_present
:1;
1493 GLuint response_length
:5;
1494 GLuint msg_length
:4;
1496 GLuint end_of_thread
:1;
1500 GLuint binding_table_index
:8;
1501 GLuint msg_control
:4;
1503 GLuint target_cache
:2;
1504 GLuint response_length
:4;
1505 GLuint msg_length
:4;
1506 GLuint msg_target
:4;
1508 GLuint end_of_thread
:1;
1512 GLuint binding_table_index
:8;
1513 GLuint msg_control
:3;
1515 GLuint target_cache
:2;
1517 GLuint header_present
:1;
1518 GLuint response_length
:5;
1519 GLuint msg_length
:4;
1521 GLuint end_of_thread
:1;
1525 GLuint binding_table_index
:8;
1526 GLuint msg_control
:3;
1527 GLuint pixel_scoreboard_clear
:1;
1529 GLuint send_commit_msg
:1;
1530 GLuint response_length
:4;
1531 GLuint msg_length
:4;
1532 GLuint msg_target
:4;
1534 GLuint end_of_thread
:1;
1538 GLuint binding_table_index
:8;
1539 GLuint msg_control
:3;
1540 GLuint pixel_scoreboard_clear
:1;
1542 GLuint send_commit_msg
:1;
1544 GLuint header_present
:1;
1545 GLuint response_length
:5;
1546 GLuint msg_length
:4;
1548 GLuint end_of_thread
:1;
1553 GLuint response_length
:4;
1554 GLuint msg_length
:4;
1555 GLuint msg_target
:4;
1557 GLuint end_of_thread
:1;
1562 GLuint header_present
:1;
1563 GLuint response_length
:5;
1564 GLuint msg_length
:4;
1566 GLuint end_of_thread
:1;