blob: 763e8f188c57488f37d21e0170ce931648e6e9b0 [file] [log] [blame]
/*
* Copyright 2023 Google LLC
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef skgpu_graphite_ReadSwizzle_DEFINED
#define skgpu_graphite_ReadSwizzle_DEFINED
namespace skgpu::graphite {
/**
* Enumerate the few possible read and write swizzle options for smaller storage.
*/
enum class ReadSwizzle {
kRGBA, // Default
kRGB1,
kRRRR,
kRRR1,
kBGRA,
k000R,
};
} // namespace skgpu::graphite
#endif // skgpu_graphite_ReadSwizzle_DEFINED