Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rsx: Fix surface access bit flags #10788

Merged
merged 1 commit into from Aug 29, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 7 additions & 7 deletions rpcs3/Emu/RSX/Common/TextureUtils.h
Expand Up @@ -42,17 +42,17 @@ namespace rsx
// Publicly visible enumerators
enum
{
shader_read = 0,
shader_write = 1,
transfer_read = 2,
transfer_write = 4,
shader_read = (1 << 0),
shader_write = (1 << 1),
transfer_read = (1 << 2),
transfer_write = (1 << 3),

// Arbitrary r/w flags, use with caution.
memory_write = 8,
memory_read = 16,
memory_write = (1 << 4),
memory_read = (1 << 5),

// Not r/w but signifies a GPU reference to this object.
gpu_reference = 32
gpu_reference = (1 << 6),
};

private:
Expand Down