PICA: Start implementing GPU vertex fetch

This commit is contained in:
wheremyfoodat 2024-08-21 00:47:57 +03:00
parent 652b600884
commit e13ef42b65
9 changed files with 117 additions and 8 deletions

View file

@ -0,0 +1,19 @@
#pragma once
#include <array>
#include "helpers.hpp"
namespace PICA {
struct DrawAcceleration {
u8* vertexBuffer;
u8* indexBuffer;
// Minimum and maximum index in the index buffer for a draw call
u16 minimumIndex, maximumIndex;
u32 vertexDataSize;
bool canBeAccelerated;
bool indexed;
};
} // namespace PICA