Home
last modified time | relevance | path

Searched refs:num_vars (Results 1 – 25 of 27) sorted by relevance

12

/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_gs_variant.cpp127 unsigned num_vars; member
171 snprintf(tmp, ARRAY_SIZE(tmp), "in_%d", emit_ctx->num_vars); in d3d12_begin_emit_primitives_gs()
172 emit_ctx->in[emit_ctx->num_vars] = nir_variable_create(nir, in d3d12_begin_emit_primitives_gs()
176 emit_ctx->in[emit_ctx->num_vars]->data.location = i; in d3d12_begin_emit_primitives_gs()
177 … emit_ctx->in[emit_ctx->num_vars]->data.driver_location = key->varyings.vars[i].driver_location; in d3d12_begin_emit_primitives_gs()
178 emit_ctx->in[emit_ctx->num_vars]->data.interpolation = key->varyings.vars[i].interpolation; in d3d12_begin_emit_primitives_gs()
182 edgeflag_var = emit_ctx->in[emit_ctx->num_vars]; in d3d12_begin_emit_primitives_gs()
185 pos_var = emit_ctx->in[emit_ctx->num_vars]; in d3d12_begin_emit_primitives_gs()
188 snprintf(tmp, ARRAY_SIZE(tmp), "out_%d", emit_ctx->num_vars); in d3d12_begin_emit_primitives_gs()
189 emit_ctx->out[emit_ctx->num_vars] = nir_variable_create(nir, in d3d12_begin_emit_primitives_gs()
[all …]
/third_party/mesa3d/src/intel/compiler/
Dbrw_fs_live_variables.cpp60 assert(var < num_vars); in setup_one_read()
78 assert(var < num_vars); in setup_one_write()
264 num_vars = 0; in fs_live_variables()
267 var_from_vgrf[i] = num_vars; in fs_live_variables()
268 num_vars += s->alloc.sizes[i]; in fs_live_variables()
271 vgrf_from_var = rzalloc_array(mem_ctx, int, num_vars); in fs_live_variables()
278 start = ralloc_array(mem_ctx, int, num_vars); in fs_live_variables()
279 end = rzalloc_array(mem_ctx, int, num_vars); in fs_live_variables()
280 for (int i = 0; i < num_vars; i++) { in fs_live_variables()
294 bitset_words = BITSET_WORDS(num_vars); in fs_live_variables()
[all …]
Dbrw_vec4_live_variables.cpp204 for (int i = 0; i < num_vars; i++) { in compute_start_end()
223 num_vars = alloc.total_size * 8; in vec4_live_variables()
224 start = ralloc_array(mem_ctx, int, num_vars); in vec4_live_variables()
225 end = ralloc_array(mem_ctx, int, num_vars); in vec4_live_variables()
227 for (int i = 0; i < num_vars; i++) { in vec4_live_variables()
236 bitset_words = BITSET_WORDS(num_vars); in vec4_live_variables()
264 if (var + j >= unsigned(live->num_vars) || in check_register_live_range()
Dbrw_fs_dead_code_eliminate.cpp81 int num_vars = live_vars.num_vars; in dead_code_eliminate() local
82 BITSET_WORD *live = rzalloc_array(NULL, BITSET_WORD, BITSET_WORDS(num_vars)); in dead_code_eliminate()
87 sizeof(BITSET_WORD) * BITSET_WORDS(num_vars)); in dead_code_eliminate()
Dbrw_vec4_dead_code_eliminate.cpp45 int num_vars = live_vars.num_vars; in dead_code_eliminate() local
46 BITSET_WORD *live = rzalloc_array(NULL, BITSET_WORD, BITSET_WORDS(num_vars)); in dead_code_eliminate()
51 sizeof(BITSET_WORD) * BITSET_WORDS(num_vars)); in dead_code_eliminate()
Dbrw_fs_live_variables.h111 int num_vars; variable
Dbrw_vec4_live_variables.h81 int num_vars; variable
Dbrw_vec4.cpp1529 int num_vars = this->alloc.count; in split_virtual_grfs() local
1530 int new_virtual_grf[num_vars]; in split_virtual_grfs()
1531 bool split_grf[num_vars]; in split_virtual_grfs()
1536 for (int i = 0; i < num_vars; i++) { in split_virtual_grfs()
1556 for (int i = 0; i < num_vars; i++) { in split_virtual_grfs()
Dbrw_schedule_instructions.cpp801 for (int i = 0; i < live.num_vars; i++) { in setup_liveness()
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/
DVariablePacker_test.cpp96 int num_vars = kMaxRows / num_rows; in TEST() local
98 vars.push_back(CreateShaderVariable(type, num_vars)); in TEST()
103 vars.push_back(CreateShaderVariable(type, num_vars + 1)); in TEST()
107 num_vars = in TEST()
110 for (int ii = 0; ii < num_vars; ++ii) in TEST()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/compiler_tests/
DVariablePacker_test.cpp96 int num_vars = kMaxRows / num_rows; in TEST() local
98 vars.push_back(CreateShaderVariable(type, num_vars)); in TEST()
103 vars.push_back(CreateShaderVariable(type, num_vars + 1)); in TEST()
107 num_vars = in TEST()
110 for (int ii = 0; ii < num_vars; ++ii) in TEST()
/third_party/flutter/skia/third_party/externals/sdl/visualtest/src/
Dvariator_common.c108 for(i = 0; i < variation->num_vars; i++) in SDLVisualTest_MakeStrFromVariation()
195 variation->num_vars = config->num_options; in SDLVisualTest_InitVariation()
198 for(i = 0; i < variation->num_vars; i++) in SDLVisualTest_InitVariation()
Dvariator_exhaustive.c31 for(i = 0; i < variation->num_vars; i++) in NextVariation()
64 variator->variation.num_vars = 0; in SDLVisualTest_InitExhaustiveVariator()
Dvariator_random.c61 for(i = 0; i < variator->variation.num_vars; i++) in SDLVisualTest_GetNextRandomVariation()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_nir_builtins.c93 unsigned num_vars, in st_nir_make_passthrough_shader() argument
108 for (unsigned i = 0; i < num_vars; i++) { in st_nir_make_passthrough_shader()
Dst_nir.h72 unsigned num_vars,
/third_party/flutter/skia/third_party/externals/sdl/visualtest/include/
DSDL_visualtest_variator_common.h68 int num_vars; member
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_qir_live_variables.c264 qir_compute_start_end(struct vc4_compile *c, int num_vars) in qir_compute_start_end() argument
267 for (int i = 0; i < num_vars; i++) { in qir_compute_start_end()
/third_party/mesa3d/src/broadcom/compiler/
Dvir_live_variables.c272 vir_compute_start_end(struct v3d_compile *c, int num_vars) in vir_compute_start_end() argument
275 for (int i = 0; i < num_vars; i++) { in vir_compute_start_end()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_io_to_vector.c161 unsigned num_vars = 0; in get_flat_type() local
194 num_vars++; in get_flat_type()
201 if (num_vars <= 1) in get_flat_type()
Dnir.c303 unsigned num_vars = 0; in nir_sort_variables_with_modes() local
305 ++num_vars; in nir_sort_variables_with_modes()
307 struct var_cmp *vars = ralloc_array(shader, struct var_cmp, num_vars); in nir_sort_variables_with_modes()
316 assert(i == num_vars); in nir_sort_variables_with_modes()
318 util_qsort_r(vars, num_vars, sizeof(*vars), var_sort_cmp, cmp); in nir_sort_variables_with_modes()
320 for (i = 0; i < num_vars; i++) in nir_sort_variables_with_modes()
Dnir_serialize.c430 unsigned num_vars = blob_read_uint32(ctx->blob); in read_var_list() local
431 for (unsigned i = 0; i < num_vars; i++) { in read_var_list()
/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
Dspirv_builder.c707 size_t num_vars, size_t *position) in spirv_builder_emit_phi() argument
711 assert(num_vars > 0); in spirv_builder_emit_phi()
712 int words = 3 + 2 * num_vars; in spirv_builder_emit_phi()
718 for (int i = 0; i < 2 * num_vars; ++i) in spirv_builder_emit_phi()
Dspirv_builder.h262 size_t num_vars, size_t *position);
/third_party/mesa3d/src/amd/compiler/
Daco_register_allocation.cpp1056 unsigned num_vars = 0; in get_regs_for_copies() local
1105 if (k > num_moves || (k == num_moves && n <= num_vars)) { in get_regs_for_copies()
1114 num_vars = n; in get_regs_for_copies()
1185 unsigned num_vars = 0; in get_reg_impl() local
1247 if (k == num_moves && n < num_vars) in get_reg_impl()
1249 if (!aligned && k == num_moves && n == num_vars) in get_reg_impl()
1255 num_vars = n; in get_reg_impl()

12