Skip to content

Commit

Permalink
[dxvk] Remove useless DxvkMarker class
Browse files Browse the repository at this point in the history
  • Loading branch information
doitsujin committed Oct 16, 2024
1 parent 500c86c commit fb6e0ad
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 53 deletions.
7 changes: 0 additions & 7 deletions src/d3d9/d3d9_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,6 @@ namespace dxvk {
void* mapPtr = nullptr;
};

struct D3D9StagingBufferMarkerPayload {
uint64_t sequenceNumber;
VkDeviceSize allocated;
};

using D3D9StagingBufferMarker = DxvkMarker<D3D9StagingBufferMarkerPayload>;

class D3D9DeviceEx final : public ComObjectClamp<IDirect3DDevice9Ex> {
constexpr static uint32_t DefaultFrameLatency = 3;
constexpr static uint32_t MaxFrameLatency = 20;
Expand Down
10 changes: 0 additions & 10 deletions src/dxvk/dxvk_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#include "dxvk_queue.h"
#include "dxvk_resource.h"
#include "dxvk_util.h"
#include "dxvk_marker.h"

namespace dxvk {

Expand Down Expand Up @@ -1375,15 +1374,6 @@ namespace dxvk {
*/
void insertDebugLabel(VkDebugUtilsLabelEXT *label);

/**
* \brief Inserts a marker object
* \param [in] marker The marker
*/
template<typename T>
void insertMarker(const Rc<DxvkMarker<T>>& marker) {
m_cmd->trackResource<DxvkAccess::Write>(marker);
}

/**
* \brief Increments a given stat counter
*
Expand Down
1 change: 0 additions & 1 deletion src/dxvk/dxvk_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#include "dxvk_sparse.h"
#include "dxvk_stats.h"
#include "dxvk_unbound.h"
#include "dxvk_marker.h"

namespace dxvk {

Expand Down
35 changes: 0 additions & 35 deletions src/dxvk/dxvk_marker.h

This file was deleted.

0 comments on commit fb6e0ad

Please sign in to comment.