Rev 4358 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4358 | Rev 4518 | ||
---|---|---|---|
Line 102... | Line 102... | ||
102 | 102 | ||
103 | return text; |
103 | return text; |
Line 104... | Line 104... | ||
104 | } |
104 | } |
105 | 105 | ||
106 | int glsl_es = 0; |
106 | int glsl_es = 0; |
107 | int dump_ast = 0; |
107 | int dump_ast = 1; |
108 | int dump_hir = 0; |
108 | int dump_hir = 1; |
Line 109... | Line 109... | ||
109 | int dump_lir = 0; |
109 | int dump_lir = 1; |
110 | int do_link = 0; |
110 | int do_link = 1; |
111 | 111 | ||
112 | const struct option compiler_opts[] = { |
112 | const struct option compiler_opts[] = { |
Line 160... | Line 160... | ||
160 | struct gl_context local_ctx; |
160 | struct gl_context local_ctx; |
161 | struct gl_context *ctx = &local_ctx; |
161 | struct gl_context *ctx = &local_ctx; |
Line 162... | Line 162... | ||
162 | 162 | ||
163 | int c; |
163 | int c; |
- | 164 | int idx = 0; |
|
164 | int idx = 0; |
165 | int optind =1; |
165 | while ((c = getopt_long(argc, argv, "", compiler_opts, &idx)) != -1) |
166 | // while ((c = getopt_long(argc, argv, "", compiler_opts, &idx)) != -1) |
Line 166... | Line 167... | ||
166 | /* empty */ ; |
167 | // /* empty */ ; |
167 | 168 | ||
Line 168... | Line 169... | ||
168 | 169 | ||
Line 169... | Line 170... | ||
169 | if (argc <= optind) |
170 | // if (argc <= optind) |