Lines Matching defs:sf_state
553 struct brw_sf_unit_state *sf_state;
566 &sf_bo, &sf_state) != 0)
576 sf_state->thread0.grf_reg_count = BRW_GRF_BLOCKS(SF_KERNEL_NUM_GRF);
577 sf_state->thread0.kernel_start_pointer =
579 kernel_bo, sf_state->thread0.grf_reg_count << 1,
581 sf_state->sf1.single_program_flow = 1; /* XXX */
582 sf_state->sf1.binding_table_entry_count = 0;
583 sf_state->sf1.thread_priority = 0;
584 sf_state->sf1.floating_point_mode = 0; /* Mesa does this */
585 sf_state->sf1.illegal_op_exception_enable = 1;
586 sf_state->sf1.mask_stack_exception_enable = 1;
587 sf_state->sf1.sw_exception_enable = 1;
588 sf_state->thread2.per_thread_scratch_space = 0;
590 sf_state->thread2.scratch_space_base_pointer = 0;
591 sf_state->thread3.const_urb_entry_read_length = 0; /* no const URBs */
592 sf_state->thread3.const_urb_entry_read_offset = 0; /* no const URBs */
593 sf_state->thread3.urb_entry_read_length = 1; /* 1 URB per vertex */
594 sf_state->thread3.urb_entry_read_offset = 0;
595 sf_state->thread3.dispatch_grf_start_reg = 3;
596 sf_state->thread4.max_threads = SF_MAX_THREADS - 1;
597 sf_state->thread4.urb_entry_allocation_size = URB_SF_ENTRY_SIZE - 1;
598 sf_state->thread4.nr_urb_entries = URB_SF_ENTRIES;
599 sf_state->thread4.stats_enable = 1;
600 sf_state->sf5.viewport_transform = FALSE; /* skip viewport */
601 sf_state->sf6.cull_mode = BRW_CULLMODE_NONE;
602 sf_state->sf6.scissor = 0;
603 sf_state->sf7.trifan_pv = 2;
604 sf_state->sf6.dest_org_vbias = 0x8;
605 sf_state->sf6.dest_org_hbias = 0x8;