veloren/assets
Imbris 63096b2042 Complete GPU based alpha premultiplication impl and make the CPU version
even faster.

* GPU based version started in previous commit, but this fixes errors
  and bugs and gets it actually compiling and running.
* Add a way to batch together images to use the same render pass for GPU
  premultiplication if they all target the same texture.
* Pending premultiplication uploads are automatically done when calling
  `Drawer::third_pass`.
* `fast-srgb8` dep removed, we no longer convert to `f32`s to do the
  premultiplication. Two `[u16; 256]` tables are combined to compute the
  alpa premultiplied color within the same error bounds used by the
  `fast-srgb8` crate. We also no longer use explicit simd.
* Remove explicit lifetimes from `PlayState::render` since `&self` and
  `Drawer<'_>` don't need to have the same lifetime.
* Fix existing bug where invalidated cache entries were never set to
  valid when reusing them.
* `prepare_graphic` now runs some heuristics to determine whether
  premultiplication should be executed CPU side or GPU side and then
  returns a bool indicating if GPU premultiplication is needed.
2023-04-08 00:28:31 -04:00
..
common Teeny changes to crippling stance abilities 2023-04-05 23:17:57 +00:00
server/manifests Ability changes 2023-03-26 21:41:22 -04:00
test/loadout/ok Rebase commit 2022-05-16 15:11:36 -04:00
voxygen Complete GPU based alpha premultiplication impl and make the CPU version 2023-04-08 00:28:31 -04:00
world Merge branch 'more_spot_things' into 'master' 2023-03-31 02:57:39 +00:00