Lines Matching defs:compiler
66 ir3_compiler_destroy(struct ir3_compiler *compiler)
68 disk_cache_destroy(compiler->disk_cache);
69 ralloc_free(compiler);
76 struct ir3_compiler *compiler = rzalloc(NULL, struct ir3_compiler);
86 compiler->dev = dev;
87 compiler->dev_id = dev_id;
88 compiler->gen = fd_dev_gen(dev_id);
89 compiler->robust_ubo_access = robust_ubo_access;
92 compiler->local_mem_size = 32 * 1024;
94 compiler->branchstack_size = 64;
95 compiler->wave_granularity = 2;
96 compiler->max_waves = 16;
98 if (compiler->gen >= 6) {
99 compiler->samgq_workaround = true;
109 compiler->max_const_pipeline = 640;
110 compiler->max_const_frag = 512;
111 compiler->max_const_geom = 512;
112 compiler->max_const_safe = 128;
119 compiler->max_const_compute = 256;
122 compiler->has_clip_cull = true;
125 compiler->has_pvtmem = true;
127 compiler->tess_use_shared =
128 fd_dev_info(compiler->dev_id)->a6xx.tess_use_shared;
130 compiler->storage_16bit =
131 fd_dev_info(compiler->dev_id)->a6xx.storage_16bit;
133 compiler->max_const_pipeline = 512;
134 compiler->max_const_geom = 512;
135 compiler->max_const_frag = 512;
136 compiler->max_const_compute = 512;
141 compiler->max_const_safe = 256;
144 if (compiler->gen >= 6) {
145 compiler->reg_size_vec4 =
146 fd_dev_info(compiler->dev_id)->a6xx.reg_size_vec4;
147 } else if (compiler->gen >= 4) {
151 compiler->reg_size_vec4 = 48;
154 compiler->reg_size_vec4 = 96;
157 if (compiler->gen >= 6) {
158 compiler->threadsize_base = 64;
159 } else if (compiler->gen >= 4) {
163 compiler->threadsize_base = 32;
165 compiler->threadsize_base = 8;
168 if (compiler->gen >= 4) {
170 compiler->flat_bypass = true;
171 compiler->levels_add_one = false;
172 compiler->unminify_coords = false;
173 compiler->txf_ms_with_isaml = false;
174 compiler->array_index_add_half = true;
175 compiler->instr_align = 16;
176 compiler->const_upload_unit = 4;
179 compiler->flat_bypass = false;
180 compiler->levels_add_one = true;
181 compiler->unminify_coords = true;
182 compiler->txf_ms_with_isaml = true;
183 compiler->array_index_add_half = false;
184 compiler->instr_align = 4;
185 compiler->const_upload_unit = 8;
188 ir3_disk_cache_init(compiler);
190 return compiler;