mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-10 03:18:55 +02:00
[vulkan] Removed LineRasterization mode for the removed LineLoop -> LineStrip convertion
This commit is contained in:
parent
0a73fb5229
commit
14cbcc2438
2 changed files with 3 additions and 9 deletions
|
|
@ -661,8 +661,8 @@ void GraphicsPipeline::MakePipeline(VkRenderPass render_pass) {
|
|||
if (!vertex_binding_divisors.empty()) {
|
||||
vertex_input_ci.pNext = &input_divisor_ci;
|
||||
}
|
||||
const bool has_tess_stages = spv_modules[1] || spv_modules[2];
|
||||
const bool has_geometry_stage = spv_modules[3];
|
||||
const bool has_tess_stages = static_cast<bool>(spv_modules[1]) || static_cast<bool>(spv_modules[2]);
|
||||
const bool has_geometry_stage = static_cast<bool>(spv_modules[3]);
|
||||
const bool dynamic_topology = key.state.extended_dynamic_state != 0;
|
||||
const bool dynamic_primitive_restart = key.state.extended_dynamic_state_2 != 0;
|
||||
const auto polygon_mode =
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
|
||||
// SPDX-FileCopyrightText: Copyright 2028 Eden Emulator Project
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project
|
||||
|
|
@ -373,12 +373,6 @@ DrawParams MakeDrawParams(const MaxwellDrawState& draw_state, u32 num_instances,
|
|||
return params;
|
||||
}
|
||||
|
||||
bool IsLineRasterizationTopology(const Device& device, Maxwell::PrimitiveTopology topology) {
|
||||
const VkPrimitiveTopology vk_topology = MaxwellToVK::PrimitiveTopology(device, topology);
|
||||
return vk_topology == VK_PRIMITIVE_TOPOLOGY_LINE_LIST ||
|
||||
vk_topology == VK_PRIMITIVE_TOPOLOGY_LINE_STRIP;
|
||||
}
|
||||
|
||||
VkLineRasterizationModeEXT SelectLineRasterizationMode(const Device& device, bool smooth_lines) {
|
||||
const bool supports_rectangular_lines = device.SupportsRectangularLines();
|
||||
const bool supports_smooth_lines = device.SupportsSmoothLines();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue