mirror of
https://github.com/patchzyy/wiicompiled
synced 2026-09-11 09:25:05 -04:00
19 lines
581 B
C++
19 lines
581 B
C++
#pragma once
|
|
|
|
#include "dolphin/gx/GXEnum.h"
|
|
#include "../internal.hpp"
|
|
|
|
namespace aurora::gx::fifo {
|
|
|
|
// Reset the CP write-deduplication state whenever the GX shadow state is reinitialized.
|
|
void reset_cp_register_cache();
|
|
|
|
// Process a buffer of GX FIFO commands
|
|
void process(const uint8_t* data, uint32_t size, bool bigEndian);
|
|
|
|
// Submit already-packed direct vertex bytes against the current GX state.
|
|
bool submit_raw_draw(GXPrimitive prim, GXVtxFmt fmt, const uint8_t* vertices, uint16_t vtxCount,
|
|
uint32_t vertexBytes);
|
|
|
|
} // namespace aurora::gx::fifo
|