Skip to content
This repository was archived by the owner on Oct 31, 2025. It is now read-only.

Add arch functions for the GLSL.std.450 S/U Min/Max functions#763

Merged
khyperia merged 2 commits intoEmbarkStudios:mainfrom
expenses:add-unsigned-glsl-functions
Oct 12, 2021
Merged

Add arch functions for the GLSL.std.450 S/U Min/Max functions#763
khyperia merged 2 commits intoEmbarkStudios:mainfrom
expenses:add-unsigned-glsl-functions

Conversation

@expenses
Copy link
Copy Markdown
Contributor

This is related to #758. Because 'pure rust' integer min/max functions are quite branchy, it'd be nice to be able to call the glsl functions which presumably compile down to better code on the target GPU.

Ideally, rustc would be changed in a way that means we don't need these.

@khyperia khyperia merged commit f8a1130 into EmbarkStudios:main Oct 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants