Minor decoder optimizations, kernel fixes, cpu backend fixes
This commit is contained in:
@@ -2042,10 +2042,6 @@ D3D12CommandProcessor::WriteRegisterRangeFromRing_WithKnownBound(
|
||||
RingBuffer::ReadRange range =
|
||||
ring->BeginRead(num_registers * sizeof(uint32_t));
|
||||
|
||||
constexpr auto bounds_has_reg =
|
||||
bounds_may_have_reg<register_lower_bound, register_upper_bound>;
|
||||
constexpr auto bounds_has_bounds =
|
||||
bounds_may_have_bounds<register_lower_bound, register_upper_bound>;
|
||||
|
||||
XE_LIKELY_IF(!range.second) {
|
||||
WriteRegisterRangeFromMem_WithKnownBound<register_lower_bound,
|
||||
@@ -5152,6 +5148,7 @@ void D3D12CommandProcessor::WriteGammaRampSRV(
|
||||
#define COMMAND_PROCESSOR D3D12CommandProcessor
|
||||
|
||||
#include "../pm4_command_processor_implement.h"
|
||||
#undef COMMAND_PROCESSOR
|
||||
} // namespace d3d12
|
||||
} // namespace gpu
|
||||
} // namespace xe
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
/**
|
||||
/**
|
||||
/**
|
||||
******************************************************************************
|
||||
* Xenia : Xbox 360 Emulator Research Project *
|
||||
@@ -50,8 +48,9 @@ struct MemExportRange {
|
||||
};
|
||||
class D3D12CommandProcessor final : public CommandProcessor {
|
||||
protected:
|
||||
#define OVERRIDING_BASE_CMDPROCESSOR
|
||||
#include "../pm4_command_processor_declare.h"
|
||||
|
||||
#undef OVERRIDING_BASE_CMDPROCESSOR
|
||||
public:
|
||||
explicit D3D12CommandProcessor(D3D12GraphicsSystem* graphics_system,
|
||||
kernel::KernelState* kernel_state);
|
||||
|
||||
@@ -108,15 +108,4 @@ inline nvapi_state_t::~nvapi_state_t() {
|
||||
call_deinit_interface();
|
||||
}
|
||||
}
|
||||
inline void init_nvapi() {
|
||||
/// HMODULE moddy = LoadLibraryA("nvapi64.dll");
|
||||
|
||||
// FARPROC quif = GetProcAddress(moddy, "nvapi_QueryInterface");
|
||||
|
||||
nvapi_state_t nvapi{};
|
||||
|
||||
auto queryvisible = nvapi.query_interface<void>(0x26322BC3);
|
||||
return;
|
||||
}
|
||||
|
||||
} // namespace lightweight_nvapi
|
||||
@@ -87,7 +87,7 @@ class D3D12TextureCache final : public TextureCache {
|
||||
|
||||
~D3D12TextureCache();
|
||||
|
||||
void ClearCache();
|
||||
void ClearCache() override;
|
||||
|
||||
void BeginSubmission(uint64_t new_submission_index) override;
|
||||
void BeginFrame() override;
|
||||
|
||||
Reference in New Issue
Block a user