mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-07 16:54:14 +01:00
[d3d11] Store private refs for srv and rtv bindings
This commit is contained in:
parent
2419226456
commit
9bfe46ac50
@ -79,7 +79,7 @@ namespace dxvk {
|
|||||||
* set of views that are potentially hazardous.
|
* set of views that are potentially hazardous.
|
||||||
*/
|
*/
|
||||||
struct D3D11ShaderStageSrvBinding {
|
struct D3D11ShaderStageSrvBinding {
|
||||||
std::array<Com<D3D11ShaderResourceView>, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT> views = { };
|
std::array<Com<D3D11ShaderResourceView, false>, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT> views = { };
|
||||||
DxvkBindingSet<D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT> hazardous = { };
|
DxvkBindingSet<D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT> hazardous = { };
|
||||||
|
|
||||||
uint32_t maxCount = 0;
|
uint32_t maxCount = 0;
|
||||||
@ -121,7 +121,7 @@ namespace dxvk {
|
|||||||
* Stores bound UAVs. For compute shader UAVs,
|
* Stores bound UAVs. For compute shader UAVs,
|
||||||
* we also store a bit mask of bound UAVs.
|
* we also store a bit mask of bound UAVs.
|
||||||
*/
|
*/
|
||||||
using D3D11ShaderStageUavBinding = std::array<Com<D3D11UnorderedAccessView>, D3D11_1_UAV_SLOT_COUNT>;
|
using D3D11ShaderStageUavBinding = std::array<Com<D3D11UnorderedAccessView, false>, D3D11_1_UAV_SLOT_COUNT>;
|
||||||
|
|
||||||
struct D3D11UavBindings {
|
struct D3D11UavBindings {
|
||||||
D3D11ShaderStageUavBinding views = { };
|
D3D11ShaderStageUavBinding views = { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user