mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-22 18:31:13 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
8639d8bc21
commit
d26aabff04
Notes:
sideshowbarker
2024-07-17 09:48:50 +09:00
Author: https://github.com/linusg
Commit: d26aabff04
Pull-request: https://github.com/SerenityOS/serenity/pull/15654
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/alimpfard
140 changed files with 1202 additions and 723 deletions
|
@ -12,7 +12,8 @@
|
|||
namespace SoftGPU {
|
||||
|
||||
template<typename T>
|
||||
static constexpr T reverse_component_bytes_if_needed(T value, GPU::ImageDataLayout const& image_data_layout) requires(sizeof(T) == 2 || sizeof(T) == 4)
|
||||
static constexpr T reverse_component_bytes_if_needed(T value, GPU::ImageDataLayout const& image_data_layout)
|
||||
requires(sizeof(T) == 2 || sizeof(T) == 4)
|
||||
{
|
||||
if (image_data_layout.packing.component_bytes_order == GPU::ComponentBytesOrder::Normal)
|
||||
return value;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue