mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-03-04 04:07:08 +00:00
Comment fixes (feedback)
This commit is contained in:
parent
7742fbdeb6
commit
439b38f705
@ -54,7 +54,7 @@ enum class PipelineFlags : u8 {
|
||||
ENUM_CLASS_BITOPS(PipelineFlags);
|
||||
|
||||
// Pipelines need to be created for the right type of render pass.
|
||||
// TODO: Rename to RenderPassType? It is currently a bitfield.
|
||||
// TODO: Rename to RenderPassFlags?
|
||||
// When you add more flags, don't forget to update rpTypeDebugNames[].
|
||||
enum class RenderPassType {
|
||||
DEFAULT = 0,
|
||||
@ -74,8 +74,6 @@ enum class RenderPassType {
|
||||
};
|
||||
ENUM_CLASS_BITOPS(RenderPassType);
|
||||
|
||||
// Hm, soon time to exploit the bit properties in these..
|
||||
|
||||
inline bool RenderPassTypeHasDepth(RenderPassType type) {
|
||||
return (type & RenderPassType::HAS_DEPTH) || type == RenderPassType::BACKBUFFER;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user