소스 검색

IR print visitor: Just print the name of structures

Treat structure types like other non-array types.  We'll have to print
the structure defintion elsewhere.
tags/mesa-7.9-rc1
Ian Romanick 15 년 전
부모
커밋
7d82c765a8
1개의 변경된 파일0개의 추가작업 그리고 4개의 파일을 삭제
  1. 0
    4
      ir_print_visitor.cpp

+ 0
- 4
ir_print_visitor.cpp 파일 보기

@@ -31,10 +31,6 @@ print_type(const glsl_type *t)
printf("(array ");
print_type(t->fields.array);
printf(" %u)", t->length);
} else if (t->base_type == GLSL_TYPE_STRUCT) {
printf("(struct (%s %u ", t->name ? t->name : "@", t->length);
printf("(FINISHME: structure fields go here) ");
printf(")");
} else {
printf("%s", t->name);
}

Loading…
취소
저장