Lines Matching defs:count
221 unsigned count = fs->shader->externals_count;
225 if (count == 0)
229 OUT_CS_REG_SEQ(R300_PFS_PARAM_0_X, count * 4);
231 for (i = 0; i < count; i++) {
237 for (i = 0; i < count; i++)
250 unsigned count = fs->shader->rc_state_count;
256 if (count == 0)
286 unsigned count = fs->shader->externals_count;
289 if (count == 0)
294 OUT_CS_ONE_REG(R500_GA_US_VECTOR_DATA, count * 4);
296 for (unsigned i = 0; i < count; i++) {
301 OUT_CS_TABLE(buf->ptr, count * 4);
311 unsigned count = fs->shader->rc_state_count;
316 if (count == 0)
618 /* Set sample positions. It depends on the framebuffer sample count.
809 unsigned count = (rs->inst_count & R300_RS_INST_COUNT_MASK) + 1;
817 for (i = 0; i < count; i++)
820 for (i = 0; i < count; i++)
823 fprintf(stderr, " : count: 0x%08x inst_count: 0x%08x\n",
824 rs->count, rs->inst_count);
838 OUT_CS_REG_SEQ(R500_RS_IP_0, count);
840 OUT_CS_REG_SEQ(R300_RS_IP_0, count);
842 OUT_CS_TABLE(rs->ip, count);
845 OUT_CS(rs->count);
849 OUT_CS_REG_SEQ(R500_RS_INST_0, count);
851 OUT_CS_REG_SEQ(R300_RS_INST_0, count);
853 OUT_CS_TABLE(rs->inst, count);
904 for (i = 0; i < allstate->count; i++) {
937 unsigned vertex_array_count = r300->velems->count;
1069 for (i = 0; i < streams->count; i++) {
1074 for (i = 0; i < streams->count; i++) {
1081 OUT_CS_REG_SEQ(R300_VAP_PROG_STREAM_CNTL_0, streams->count);
1082 OUT_CS_TABLE(streams->vap_prog_stream_cntl, streams->count);
1083 OUT_CS_REG_SEQ(R300_VAP_PROG_STREAM_CNTL_EXT_0, streams->count);
1084 OUT_CS_TABLE(streams->vap_prog_stream_cntl_ext, streams->count);
1163 unsigned count = r300_vs(r300)->shader->externals_count;
1180 OUT_CS_ONE_REG(R300_VAP_PVS_UPLOAD_DATA, count * 4);
1182 for (i = 0; i < count; i++) {
1187 OUT_CS_TABLE(buf->ptr, count * 4);
1354 for (i = 0; i < texstate->count; i++) {