Lines Matching defs:code
248 struct rc_constant_list *constants = &fs->shader->code.constants;
309 struct rc_constant_list *constants = &fs->shader->code.constants;
1107 struct r300_vertex_program_code* code = &vs->code;
1109 unsigned instruction_count = code->length / 4;
1112 unsigned input_count = MAX2(util_bitcount(code->InputsRead), 1);
1113 unsigned output_count = MAX2(util_bitcount(code->OutputsWritten), 1);
1114 unsigned temp_count = MAX2(code->num_temporaries, 1);
1129 R300_PVS_XYZW_VALID_INST(code->last_pos_write) |
1131 OUT_CS_REG(R300_VAP_PVS_CODE_CNTL_1, code->last_input_read);
1134 OUT_CS_ONE_REG(R300_VAP_PVS_UPLOAD_DATA, code->length);
1135 OUT_CS_TABLE(code->body.d, code->length);
1146 OUT_CS_REG(R300_VAP_PVS_FLOW_CNTL_OPC, code->fc_ops);
1149 OUT_CS_TABLE(code->fc_op_addrs.r500, R300_VS_MAX_FC_OPS * 2);
1152 OUT_CS_TABLE(code->fc_op_addrs.r300, R300_VS_MAX_FC_OPS);
1155 OUT_CS_TABLE(code->fc_loop_index, R300_VS_MAX_FC_OPS);
1168 int imm_end = vs->code.constants.Count;
1199 const float *data = vs->code.constants.Constants[i].u.Immediate;