Skip to content

Commit

Permalink
[dxvk] Remove obsolete DxvkDeviceOptions structure
Browse files Browse the repository at this point in the history
This hasn't been used since 2.0.
  • Loading branch information
doitsujin committed Oct 24, 2024
1 parent ec62551 commit 640379e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
8 changes: 0 additions & 8 deletions src/dxvk/dxvk_device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,14 +113,6 @@ namespace dxvk {

return result;
}


DxvkDeviceOptions DxvkDevice::options() const {
DxvkDeviceOptions options;
options.maxNumDynamicUniformBuffers = m_properties.core.properties.limits.maxDescriptorSetUniformBuffersDynamic;
options.maxNumDynamicStorageBuffers = m_properties.core.properties.limits.maxDescriptorSetStorageBuffersDynamic;
return options;
}


Rc<DxvkCommandList> DxvkDevice::createCommandList() {
Expand Down
13 changes: 0 additions & 13 deletions src/dxvk/dxvk_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,6 @@ namespace dxvk {

class DxvkInstance;

/**
* \brief Device options
*/
struct DxvkDeviceOptions {
uint32_t maxNumDynamicUniformBuffers = 0;
uint32_t maxNumDynamicStorageBuffers = 0;
};

/**
* \brief Device performance hints
Expand Down Expand Up @@ -252,12 +245,6 @@ namespace dxvk {
* \returns Supported shader pipeline stages
*/
VkPipelineStageFlags getShaderPipelineStages() const;

/**
* \brief Retrieves device options
* \returns Device options
*/
DxvkDeviceOptions options() const;

/**
* \brief Retrieves performance hints
Expand Down

0 comments on commit 640379e

Please sign in to comment.