Skip to content

Conversation

@phoenixxxx
Copy link
Contributor

This is only for reference and will be broken up into smaller PRs.

This is the explicit method which adds quite a few APIs but is less intrusive, however burdens the caller with createating a 1-1 correspondance between Material and Texture.

phoenixxxx and others added 30 commits June 4, 2024 12:35
First attempt at an implementation by passing the specific data needed
from the application to the material builder. This ensures that by the
time the material is getting built on the VK backend, we can create the
descriptor set layout.
Adding the platform side code.
- We need to pipe the ext format and the ycbcr to the backend
- We need to be able to retreive the sampler when binding the texture
  when updating the descriptor set
- We need to create the sampler based on the info from the
  DescriptorSetLayoutBinding when creating the descriptor set.
Not sure this is the cleanest way, but we do not have a good way to work
around the need to explicitely passing the extra data.
Still lot of things up for review.
No difference for GL no both call the same function.
@phoenixxxx phoenixxxx changed the title External sampler research eximplementation External sampler research experimentation Mar 8, 2025
@poweifeng
Copy link
Contributor

closing because no longer required.

@poweifeng poweifeng closed this May 7, 2025
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