Compare commits

..

1 commit

Author SHA1 Message Date
bbf9a581b1
[common] fix fibers
Some checks failed
eden-license / license-header (pull_request) Failing after 26s
Signed-off-by: lizzie <lizzie@eden-emu.dev>
2025-10-03 18:46:26 +00:00
2 changed files with 7 additions and 12 deletions

View file

@ -320,19 +320,11 @@ struct Values {
linkage, true, "cpuopt_unsafe_ignore_global_monitor", Category::CpuUnsafe}; linkage, true, "cpuopt_unsafe_ignore_global_monitor", Category::CpuUnsafe};
// Renderer // Renderer
SwitchableSetting<RendererBackend, true> renderer_backend{linkage, SwitchableSetting<RendererBackend, true> renderer_backend{
#if defined(__sun__) || defined(__managarm__) linkage, RendererBackend::Vulkan,
RendererBackend::OpenGL,
#else
RendererBackend::Vulkan,
#endif
"backend", Category::Renderer}; "backend", Category::Renderer};
SwitchableSetting<ShaderBackend, true> shader_backend{linkage, SwitchableSetting<ShaderBackend, true> shader_backend{
#if defined(__sun__) || defined(__managarm__) linkage, ShaderBackend::SpirV,
ShaderBackend::Glsl,
#else
ShaderBackend::SpirV,
#endif
"shader_backend", Category::Renderer, Specialization::RuntimeList}; "shader_backend", Category::Renderer, Specialization::RuntimeList};
SwitchableSetting<int> vulkan_device{linkage, 0, "vulkan_device", Category::Renderer, SwitchableSetting<int> vulkan_device{linkage, 0, "vulkan_device", Category::Renderer,
Specialization::RuntimeList}; Specialization::RuntimeList};

View file

@ -64,6 +64,7 @@ void MaxwellDMA::Launch() {
// TODO(Subv): Perform more research and implement all features of this engine. // TODO(Subv): Perform more research and implement all features of this engine.
const LaunchDMA& launch = regs.launch_dma; const LaunchDMA& launch = regs.launch_dma;
ASSERT(launch.interrupt_type == LaunchDMA::InterruptType::NONE); ASSERT(launch.interrupt_type == LaunchDMA::InterruptType::NONE);
ASSERT(launch.data_transfer_type == LaunchDMA::DataTransferType::NON_PIPELINED);
if (launch.multi_line_enable) { if (launch.multi_line_enable) {
const bool is_src_pitch = launch.src_memory_layout == LaunchDMA::MemoryLayout::PITCH; const bool is_src_pitch = launch.src_memory_layout == LaunchDMA::MemoryLayout::PITCH;
@ -156,6 +157,8 @@ void MaxwellDMA::Launch() {
} }
void MaxwellDMA::CopyBlockLinearToPitch() { void MaxwellDMA::CopyBlockLinearToPitch() {
UNIMPLEMENTED_IF(regs.launch_dma.remap_enable != 0);
u32 bytes_per_pixel = 1; u32 bytes_per_pixel = 1;
DMA::ImageOperand src_operand; DMA::ImageOperand src_operand;
src_operand.bytes_per_pixel = bytes_per_pixel; src_operand.bytes_per_pixel = bytes_per_pixel;