Lines Matching refs:dcl
650 sm4_dcl& dcl = *program.dcls[insn_num];
652 if(dcl.op.get() && dcl.op->is_index_simple(0))
653 idx = dcl.op->indices[0].disp;
654 switch(dcl.opcode)
659 for(unsigned i = 0; i < dcl.num; ++i)
673 unsigned gsidx = dcl.op->indices[1].disp;
685 inputs[idx] = ureg_DECL_fs_input_cyl_centroid(ureg, TGSI_SEMANTIC_GENERIC, idx, sm4_to_pipe_interpolation[dcl.dcl_input_ps.interpolation].interpolation, 0, sm4_to_pipe_interpolation[dcl.dcl_input_ps.interpolation].centroid);
704 inputs[idx] = ureg_DECL_system_value(ureg, idx, sm4_to_pipe_sv[dcl.sv], 0);
711 check(sm4_to_pipe_sv[dcl.sv] >= 0);
712 outputs[idx] = ureg_DECL_output(ureg, sm4_to_pipe_sv[dcl.sv], 0);
718 switch(dcl.dcl_resource.target)
755 res_return_type(dcl.rrt.x),
756 res_return_type(dcl.rrt.y),
757 res_return_type(dcl.rrt.z),
758 res_return_type(dcl.rrt.w));
764 check(!dcl.dcl_sampler.mono);
765 sampler_modes[idx] = dcl.dcl_sampler.shadow;
771 check(dcl.op->num_indices == 2);
772 check(dcl.op->is_index_simple(0));
773 check(dcl.op->is_index_simple(1));
774 idx = dcl.op->indices[0].disp;
775 ureg_DECL_constant2D(ureg, 0, (unsigned)dcl.op->indices[1].disp - 1, idx);
778 ureg_property_gs_input_prim(ureg, d3d_to_pipe_prim_type[dcl.dcl_gs_input_primitive.primitive]);
781 ureg_property_gs_output_prim(ureg, d3d_to_pipe_prim[dcl.dcl_gs_output_primitive_topology.primitive_topology]);
784 ureg_property_gs_max_vertices(ureg, dcl.num);