mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 04:33:37 +00:00
ea01c3e387
# Objective fix webgpu+chrome(119) textureSample in non-uniform control flow error ## Solution modify view transmission texture sampling to use textureSampleLevel. there are no mips for the view transmission texture, so this doesn't change the result, but it removes the need for the samples to be in uniform control flow. note: in future we may add a mipchain to the transmission texture to improve the blur effect. if uniformity analysis hasn't improved, this would require switching to manual derivative calculations (which is something we plan to do anyway). |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |