/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_gs_variant.cpp | 127 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/ |
D | brw_fs_live_variables.cpp | 60 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 …]
|
D | brw_vec4_live_variables.cpp | 204 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()
|
D | brw_fs_dead_code_eliminate.cpp | 81 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()
|
D | brw_vec4_dead_code_eliminate.cpp | 45 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()
|
D | brw_fs_live_variables.h | 111 int num_vars; variable
|
D | brw_vec4_live_variables.h | 81 int num_vars; variable
|
D | brw_vec4.cpp | 1529 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()
|
D | brw_schedule_instructions.cpp | 801 for (int i = 0; i < live.num_vars; i++) { in setup_liveness()
|
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/ |
D | VariablePacker_test.cpp | 96 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/ |
D | VariablePacker_test.cpp | 96 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/ |
D | variator_common.c | 108 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()
|
D | variator_exhaustive.c | 31 for(i = 0; i < variation->num_vars; i++) in NextVariation() 64 variator->variation.num_vars = 0; in SDLVisualTest_InitExhaustiveVariator()
|
D | variator_random.c | 61 for(i = 0; i < variator->variation.num_vars; i++) in SDLVisualTest_GetNextRandomVariation()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_nir_builtins.c | 93 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()
|
D | st_nir.h | 72 unsigned num_vars,
|
/third_party/flutter/skia/third_party/externals/sdl/visualtest/include/ |
D | SDL_visualtest_variator_common.h | 68 int num_vars; member
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_qir_live_variables.c | 264 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/ |
D | vir_live_variables.c | 272 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/ |
D | nir_lower_io_to_vector.c | 161 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()
|
D | nir.c | 303 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()
|
D | nir_serialize.c | 430 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/ |
D | spirv_builder.c | 707 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()
|
D | spirv_builder.h | 262 size_t num_vars, size_t *position);
|
/third_party/mesa3d/src/amd/compiler/ |
D | aco_register_allocation.cpp | 1056 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()
|