Searched refs:img_idx (Results 1 – 3 of 3) sorted by relevance
174 static int img_idx = 0; variable378 snprintf(filename, sizeof(filename), "finger%d.pgm", img_idx++); in save_to_file()
484 unsigned img_idx[PIPE_MAX_SHADER_IMAGES]; in iris_setup_uniforms() local488 memset(img_idx, -1, sizeof(img_idx)); in iris_setup_uniforms()575 if (img_idx[var->data.binding] == -1) { in iris_setup_uniforms()583 img_idx[img] = num_system_values; in iris_setup_uniforms()586 uint32_t *img_sv = &system_values[img_idx[img]]; in iris_setup_uniforms()610 img_idx[var->data.binding] * 4 + in iris_setup_uniforms()
454 unsigned img_idx[PIPE_MAX_SHADER_IMAGES]; in crocus_setup_uniforms() local457 memset(img_idx, -1, sizeof(img_idx)); in crocus_setup_uniforms()541 if (img_idx[var->data.binding] == -1) { in crocus_setup_uniforms()549 img_idx[img] = num_system_values; in crocus_setup_uniforms()552 uint32_t *img_sv = &system_values[img_idx[img]]; in crocus_setup_uniforms()575 nir_imm_int(&b, img_idx[var->data.binding] * 4 + in crocus_setup_uniforms()