Skip to content

Reinterpret hack#2

Open
Narugakuruga wants to merge 3 commits into
Narugakuruga:masterfrom
jroweboy:reinterpret_hack
Open

Reinterpret hack#2
Narugakuruga wants to merge 3 commits into
Narugakuruga:masterfrom
jroweboy:reinterpret_hack

Conversation

@Narugakuruga
Copy link
Copy Markdown
Owner

No description provided.

This is an intentional hack which will ignore reloading textures
from the cpu when the texture was created solely on the gpu (ie from a
texture copy) and the requested texture format differs from cached
format. Normally this would require a flush as the formats are different
but this will skip that bringing huge performance benefits to games
that use this to draw mostly unnoticable after effects.
Used to debug cases when hw texture encoding / decoding will be useful
and when it won't work (such as if the depth buffer is being read from
in a texture format)
This just sounds like nonsense to me. I'm sure devs aren't sitting
around going "hmm now what?". This sounds like a solution in search of a
problem.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants