aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/engines/maxwell_3d.h
diff options
context:
space:
mode:
authorBilly Laws <blaws05@gmail.com>2022-06-02 21:45:22 +0100
committerBilly Laws <blaws05@gmail.com>2022-06-02 21:46:38 +0100
commitea89cf8639c19ca37fb5b52f71ecfed0dafb7b50 (patch)
tree65f28a69549bf035519c672110e70704437b5dda /src/video_core/engines/maxwell_3d.h
parent5c0a31e29f2a750ffc3a9b9d716f7630d6c2abca (diff)
Maxwell3D: Fix 3D semaphore counter type 0 handling
Counter type 0 actually releases the semaphore payload rather than a constant zero as was previously thought. This is required by Skyrim.
Diffstat (limited to 'src/video_core/engines/maxwell_3d.h')
-rw-r--r--src/video_core/engines/maxwell_3d.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h
index c0c2c7d96..434ba0877 100644
--- a/src/video_core/engines/maxwell_3d.h
+++ b/src/video_core/engines/maxwell_3d.h
@@ -93,7 +93,7 @@ public:
};
enum class QuerySelect : u32 {
- Zero = 0,
+ Payload = 0,
TimeElapsed = 2,
TransformFeedbackPrimitivesGenerated = 11,
PrimitivesGenerated = 18,