Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upBindless textures #1057
Conversation
This comment has been minimized.
This comment has been minimized.
|
Someone made a good remark on IRC. If |
This comment has been minimized.
This comment has been minimized.
|
There are two solutions:
I think that the second option is much easier to use for the user. |
tomaka
added some commits
Jul 2, 2015
tomaka
force-pushed the
bindless-textures
branch
from
73f1639
to
ce322b6
Jul 3, 2015
tomaka
force-pushed the
bindless-textures
branch
from
d291ec4
to
cd1c8b0
Jul 3, 2015
tomaka
added a commit
that referenced
this pull request
Jul 3, 2015
tomaka
merged commit 293e39a
into
master
Jul 3, 2015
tomaka
deleted the
bindless-textures
branch
Jul 3, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
tomaka commentedJul 2, 2015
Summary of the changes:
Sendor'static, except for buffers types which don't have type information.TextureHandle<'a>type that can be put into uniform buffers/SSBOs. Vertex buffers and regular uniforms are not yet supported.ResidentTextureby callingresidentorresident_if_supported.TextureHandle<'a>can be built from a&'a ResidentTextureand can't outlive the resident texture.The implementation should be entirely safe.
Future work:
ResidentTexture2dArrayandTexture2dArrayHandlefor example.Close #243
cc #878