Home
last modified time | relevance | path

Searched refs:target_width (Results 1 - 5 of 5) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
H A Dnir_lower_alu_width.c191 unsigned target_width = 1; in lower_alu_instr_width() local
194 target_width = data->cb(instr, data->data); in lower_alu_instr_width()
195 assert(util_is_power_of_two_or_zero(target_width)); in lower_alu_instr_width()
196 if (target_width == 0) in lower_alu_instr_width()
367 if (num_components <= target_width) { in lower_alu_instr_width()
371 if (alu_is_swizzled_in_bounds(alu, target_width)) in lower_alu_instr_width()
374 target_width = DIV_ROUND_UP(num_components, 2); in lower_alu_instr_width()
379 for (chan = 0; chan < num_components; chan += target_width) { in lower_alu_instr_width()
380 unsigned components = MIN2(target_width, num_components - chan); in lower_alu_instr_width()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Dgraphics_robust_access_pass.cpp439 const auto target_width = std::max(index_width, count_width); in ClampIndicesForAccessChain()
443 if (index_type->width() < target_width) { in ClampIndicesForAccessChain()
445 index_inst = WidenInteger(true, target_width, index_inst, &inst); in ClampIndicesForAccessChain()
446 } else if (count_type->width() < target_width) { in ClampIndicesForAccessChain()
448 count_inst = WidenInteger(false, target_width, count_inst, &inst); in ClampIndicesForAccessChain()
461 ((uint64_t(1) << (target_width - 1)) - 1); in ClampIndicesForAccessChain()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dgraphics_robust_access_pass.cpp439 const auto target_width = std::max(index_width, count_width); in ClampIndicesForAccessChain()
443 if (index_type->width() < target_width) { in ClampIndicesForAccessChain()
445 index_inst = WidenInteger(true, target_width, index_inst, &inst); in ClampIndicesForAccessChain()
446 } else if (count_type->width() < target_width) { in ClampIndicesForAccessChain()
448 count_inst = WidenInteger(false, target_width, count_inst, &inst); in ClampIndicesForAccessChain()
461 ((uint64_t(1) << (target_width - 1)) - 1); in ClampIndicesForAccessChain()
/third_party/spirv-tools/source/opt/
H A Dgraphics_robust_access_pass.cpp434 const auto target_width = std::max(index_width, count_width); in ClampIndicesForAccessChain()
438 if (index_type->width() < target_width) { in ClampIndicesForAccessChain()
440 index_inst = WidenInteger(true, target_width, index_inst, &inst); in ClampIndicesForAccessChain()
441 } else if (count_type->width() < target_width) { in ClampIndicesForAccessChain()
443 count_inst = WidenInteger(false, target_width, count_inst, &inst); in ClampIndicesForAccessChain()
456 ((uint64_t(1) << (target_width - 1)) - 1); in ClampIndicesForAccessChain()
/third_party/mesa3d/src/gallium/frontends/nine/
H A Dswapchain9.c729 int target_width, target_height, target_depth, i; in present() local
774 hr = ID3DPresent_GetWindowInfo(This->present, hDestWindowOverride, &target_width, &target_height, &target_depth); in present()
781 if (FAILED(hr) || target_width == 0 || target_height == 0 || in present()
783 target_width = resource->width0; in present()
791 dest_rect.right = MIN2(target_width, dest_rect.right); in present()
793 target_width = dest_rect.right - dest_rect.left; in present()
803 (target_width != resource->width0 || target_height != resource->height0)) { in present()
810 create_present_buffer(This, target_width, target_height, &new_resource[i], &new_handles[i]); in present()
847 if (target_width != This->present_buffers[0]->width0 || in present()
852 create_present_buffer(This, target_width, target_heigh in present()
[all...]

Completed in 8 milliseconds