bilinear texture sampling with textureSample instead of textureLoad#1517
bilinear texture sampling with textureSample instead of textureLoad#1517harley-canva wants to merge 7 commits into
Conversation
|
Will take a look on Monday, thanks for the prototype!! |
|
@LaurenzV thank you for benchmarking! So I wonder if we can find a middle ground. The main concern I have is the API concern of having a "fast path" and the reuse of existing fields in that fast branch. One thing I didn't explore was moving the UV calculation to the vertex stage, as you have done. It might be valuable to test moving calculations to the vertex stage to reduce the per-fragment ops. I also am not familiar with how If we can get comparable performance without splitting the API, I think that would be the best path forward. Unfortunately I'm about to go on holiday this week, so I doubt I will have time to test it. |
|
Please see #1517 (comment) 🙏 |




No description provided.