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: Enable primitive restart index only when needed #6889

Merged
merged 9 commits into from Oct 28, 2019

Conversation

elad335
Copy link
Contributor

@elad335 elad335 commented Oct 26, 2019

Default restart index value is UINT32_MAX so it's not unlikely that we enabled the restart index when there's no need to.

edit: disabled primitive restart array may be faster to process (byteswap etc) indices.

rpcs3/Emu/RSX/rsx_methods.h Outdated Show resolved Hide resolved
rpcs3/Emu/RSX/rsx_methods.h Outdated Show resolved Hide resolved
@elad335 elad335 requested a review from kd-11 October 28, 2019 17:30
rpcs3/Emu/RSX/rsx_decode.h Outdated Show resolved Hide resolved
@Nekotekina Nekotekina merged commit 42fc698 into RPCS3:master Oct 28, 2019
@elad335 elad335 deleted the restart_index branch October 29, 2019 10:44
kd-11 pushed a commit to kd-11/rpcs3 that referenced this pull request Nov 2, 2019
* rsx: Enable primitive restart index only when needed

* rsx: Use if with initializer in read_put()
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.

None yet

3 participants