Lines Matching defs:sf_state

654 	struct brw_sf_unit_state sf_state;
669 sizeof(sf_state));
679 memset(&sf_state, 0, sizeof(sf_state));
680 sf_state.thread0.grf_reg_count = BRW_GRF_BLOCKS(SF_KERNEL_NUM_GRF);
681 sf_state.thread0.kernel_start_pointer =
683 kernel_bo, sf_state.thread0.grf_reg_count << 1,
685 sf_state.sf1.single_program_flow = 1; /* XXX */
686 sf_state.sf1.binding_table_entry_count = 0;
687 sf_state.sf1.thread_priority = 0;
688 sf_state.sf1.floating_point_mode = 0; /* Mesa does this */
689 sf_state.sf1.illegal_op_exception_enable = 1;
690 sf_state.sf1.mask_stack_exception_enable = 1;
691 sf_state.sf1.sw_exception_enable = 1;
692 sf_state.thread2.per_thread_scratch_space = 0;
694 sf_state.thread2.scratch_space_base_pointer = 0;
695 sf_state.thread3.const_urb_entry_read_length = 0; /* no const URBs */
696 sf_state.thread3.const_urb_entry_read_offset = 0; /* no const URBs */
697 sf_state.thread3.urb_entry_read_length = 1; /* 1 URB per vertex */
698 sf_state.thread3.urb_entry_read_offset = 0;
699 sf_state.thread3.dispatch_grf_start_reg = 3;
700 sf_state.thread4.max_threads = SF_MAX_THREADS - 1;
701 sf_state.thread4.urb_entry_allocation_size = URB_SF_ENTRY_SIZE - 1;
702 sf_state.thread4.nr_urb_entries = URB_SF_ENTRIES;
703 sf_state.thread4.stats_enable = 1;
704 sf_state.sf5.viewport_transform = FALSE; /* skip viewport */
705 sf_state.sf6.cull_mode = BRW_CULLMODE_NONE;
706 sf_state.sf6.scissor = 0;
707 sf_state.sf7.trifan_pv = 2;
708 sf_state.sf6.dest_org_vbias = 0x8;
709 sf_state.sf6.dest_org_hbias = 0x8;
711 dri_bo_subdata(sf_bo, 0, sizeof(sf_state), &sf_state);