mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +01:00
Fixes a few bottlenecks that were encountered in the Cascading Shadow Maps demo from the Microsoft SDK. Performance is now slightly better than wined3d with CSMT, MESA_NO_ERROR and mesa_glthread enabled.
20 lines
365 B
C++
20 lines
365 B
C++
#pragma once
|
|
|
|
#include "dxvk_buffer.h"
|
|
#include "dxvk_descriptor.h"
|
|
#include "dxvk_image.h"
|
|
#include "dxvk_sampler.h"
|
|
|
|
namespace dxvk {
|
|
|
|
/**
|
|
* \brief Bound shader resource
|
|
*/
|
|
struct DxvkShaderResourceSlot {
|
|
Rc<DxvkSampler> sampler;
|
|
Rc<DxvkImageView> imageView;
|
|
Rc<DxvkBufferView> bufferView;
|
|
DxvkBufferSlice bufferSlice;
|
|
};
|
|
|
|
} |