Lines Matching defs:state
5629 struct dxil_validation_state *state)
5633 state->num_resources = ctx->resources.size / resource_element_size;
5634 state->resources.v0 = (struct dxil_resource_v0*)ctx->resources.data;
5635 state->state.psv1.psv0.max_expected_wave_lane_count = UINT_MAX;
5636 state->state.psv1.shader_stage = (uint8_t)ctx->mod.shader_kind;
5637 state->state.psv1.sig_input_elements = (uint8_t)ctx->mod.num_sig_inputs;
5638 state->state.psv1.sig_output_elements = (uint8_t)ctx->mod.num_sig_outputs;
5639 state->state.psv1.sig_patch_const_or_prim_elements = (uint8_t)ctx->mod.num_sig_patch_consts;
5643 state->state.psv1.psv0.vs.output_position_present = ctx->mod.info.has_out_position;
5647 state->state.psv1.psv0.ps.depth_output = ctx->mod.info.has_out_depth;
5648 state->state.psv1.psv0.ps.sample_frequency =
5652 state->state.num_threads_x = MAX2(ctx->shader->info.workgroup_size[0], 1);
5653 state->state.num_threads_y = MAX2(ctx->shader->info.workgroup_size[1], 1);
5654 state->state.num_threads_z = MAX2(ctx->shader->info.workgroup_size[2], 1);
5657 state->state.psv1.max_vertex_count = ctx->shader->info.gs.vertices_out;
5658 state->state.psv1.psv0.gs.input_primitive = dxil_get_input_primitive(ctx->shader->info.gs.input_primitive);
5659 state->state.psv1.psv0.gs.output_toplology = dxil_get_primitive_topology(ctx->shader->info.gs.output_primitive);
5660 state->state.psv1.psv0.gs.output_stream_mask = MAX2(ctx->shader->info.gs.active_stream_mask, 1);
5661 state->state.psv1.psv0.gs.output_position_present = ctx->mod.info.has_out_position;
5664 state->state.psv1.psv0.hs.input_control_point_count = ctx->tess_input_control_point_count;
5665 state->state.psv1.psv0.hs.output_control_point_count = ctx->shader->info.tess.tcs_vertices_out;
5666 state->state.psv1.psv0.hs.tessellator_domain = get_tessellator_domain(ctx->shader->info.tess._primitive_mode);
5667 state->state.psv1.psv0.hs.tessellator_output_primitive = get_tessellator_output_primitive(&ctx->shader->info);
5668 state->state.psv1.sig_patch_const_or_prim_vectors = ctx->mod.num_psv_patch_consts;
5671 state->state.psv1.psv0.ds.input_control_point_count = ctx->shader->info.tess.tcs_vertices_out;
5672 state->state.psv1.psv0.ds.tessellator_domain = get_tessellator_domain(ctx->shader->info.tess._primitive_mode);
5673 state->state.psv1.psv0.ds.output_position_present = ctx->mod.info.has_out_position;
5674 state->state.psv1.sig_patch_const_or_prim_vectors = ctx->mod.num_psv_patch_consts;
5973 debug_printf("D3D12: failed to write state-validation\n");