mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 16:25:58 +03:00
[PR #477] [MERGED] Fix gcc compilation error in vk_graphics_pipeline.cpp #1588
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#1588
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/shadps4-emu/shadPS4/pull/477
Author: @Random06457
Created: 8/19/2024
Status: ✅ Merged
Merged: 8/19/2024
Merged by: @georgemoralis
Base:
main← Head:compilation-fix📝 Commits (1)
a2e766dfix gcc compilation error in vk_graphics_pipeline.cpp📊 Changes
1 file changed (+9 additions, -8 deletions)
View changed files
📝
src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp(+9 -8)📄 Description
The main branch currently doesn't compile with GCC.
GCC fails to infer the type of the two parts of a ternary expression whose types are different but both contain an implicit cast operator to the same type.
See example here: https://godbolt.org/z/Y5KdM77EW
Maybe adding a GCC pipeline to the CI could be a good idea for GCC/Clang differences(?)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.