vulkan: Emulate depth clip control when extension is not available. (#762)

This commit is contained in:
squidbus 2024-09-03 15:07:05 -07:00 committed by GitHub
parent e340583a7f
commit b87e6f3838
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 38 additions and 12 deletions

View file

@ -63,9 +63,10 @@ using VsOutputMap = std::array<VsOutput, 4>;
struct VertexRuntimeInfo {
boost::container::static_vector<VsOutputMap, 3> outputs;
bool emulate_depth_negative_one_to_one{};
bool operator==(const VertexRuntimeInfo& other) const noexcept {
return true;
return emulate_depth_negative_one_to_one == other.emulate_depth_negative_one_to_one;
}
};