Lines Matching refs:info
100 int idx = prim_offset + j * shader->info.num_outputs;
102 debug_printf("%d/%d) Output vert:\n", stream, idx / shader->info.num_outputs);
104 for (slot = 0; slot < shader->info.num_outputs; slot++) {
152 for (slot = 0, vs_slot = 0; slot < shader->info.num_inputs; ++slot) {
154 if (shader->info.input_semantic_name[slot] == TGSI_SEMANTIC_PRIMID) {
161 shader->info.input_semantic_name[slot],
162 shader->info.input_semantic_index[slot],
213 if (shader->info.uses_invocationid) {
252 for (slot = 0, vs_slot = 0; slot < shader->info.num_inputs; ++slot) {
253 if (shader->info.input_semantic_name[slot] == TGSI_SEMANTIC_PRIMID) {
262 shader->info.input_semantic_name[slot],
263 shader->info.input_semantic_index[slot],
351 for (j = 0; j < shader->info.num_outputs; ++j) {
795 tgsi_scan_shader(state->tokens, &gs->info);
802 nir_tgsi_scan_shader(state->ir.nir, &gs->info, true);
804 gs->num_vertex_streams = util_last_bit(nir->info.gs.active_stream_mask);
824 gs->info.properties[TGSI_PROPERTY_GS_INPUT_PRIM];
826 gs->info.properties[TGSI_PROPERTY_GS_OUTPUT_PRIM];
828 gs->info.properties[TGSI_PROPERTY_GS_MAX_OUTPUT_VERTICES];
830 gs->info.properties[TGSI_PROPERTY_GS_INVOCATIONS];
847 for (i = 0; i < gs->info.num_outputs; i++) {
848 if (gs->info.output_semantic_name[i] == TGSI_SEMANTIC_POSITION &&
849 gs->info.output_semantic_index[i] == 0)
851 if (gs->info.output_semantic_name[i] == TGSI_SEMANTIC_VIEWPORT_INDEX)
853 if (gs->info.output_semantic_name[i] == TGSI_SEMANTIC_CLIPVERTEX &&
854 gs->info.output_semantic_index[i] == 0) {
858 if (gs->info.output_semantic_name[i] == TGSI_SEMANTIC_CLIPDIST) {
859 assert(gs->info.output_semantic_index[i] <
861 gs->ccdistance_output[gs->info.output_semantic_index[i]] = i;
891 gs->info.file_max[TGSI_FILE_SAMPLER]+1,
892 gs->info.file_max[TGSI_FILE_SAMPLER_VIEW]+1,
893 gs->info.file_max[TGSI_FILE_IMAGE]+1);
913 draw->gs.num_gs_outputs = dgs->info.num_outputs;