mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-31 18:47:09 +02:00
Fix build
This commit is contained in:
parent
83c727794e
commit
254250a83d
1 changed files with 0 additions and 2 deletions
|
|
@ -356,7 +356,6 @@ void BufferCache<P>::BindHostGeometryBuffers(bool is_indexed) {
|
||||||
if (is_indexed) {
|
if (is_indexed) {
|
||||||
BindHostIndexBuffer();
|
BindHostIndexBuffer();
|
||||||
} else if constexpr (!HAS_FULL_INDEX_AND_PRIMITIVE_SUPPORT) {
|
} else if constexpr (!HAS_FULL_INDEX_AND_PRIMITIVE_SUPPORT) {
|
||||||
using Maxwell = Tegra::Engines::Maxwell3D::Regs;
|
|
||||||
const auto& regs = maxwell3d->regs;
|
const auto& regs = maxwell3d->regs;
|
||||||
const auto& draw_state = maxwell3d->draw_manager->GetDrawState();
|
const auto& draw_state = maxwell3d->draw_manager->GetDrawState();
|
||||||
const bool allow_polygon_mode_emulation =
|
const bool allow_polygon_mode_emulation =
|
||||||
|
|
@ -748,7 +747,6 @@ bool BufferCache<P>::IsRegionCpuModified(DAddr addr, size_t size) {
|
||||||
|
|
||||||
template <class P>
|
template <class P>
|
||||||
void BufferCache<P>::BindHostIndexBuffer() {
|
void BufferCache<P>::BindHostIndexBuffer() {
|
||||||
using Maxwell = Tegra::Engines::Maxwell3D::Regs;
|
|
||||||
Buffer& buffer = slot_buffers[channel_state->index_buffer.buffer_id];
|
Buffer& buffer = slot_buffers[channel_state->index_buffer.buffer_id];
|
||||||
TouchBuffer(buffer, channel_state->index_buffer.buffer_id);
|
TouchBuffer(buffer, channel_state->index_buffer.buffer_id);
|
||||||
const u32 offset = buffer.Offset(channel_state->index_buffer.device_addr);
|
const u32 offset = buffer.Offset(channel_state->index_buffer.device_addr);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue