2017-11-29 20:19:40 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <array>
|
|
|
|
|
|
|
|
#include "d3d11_interfaces.h"
|
2017-12-04 13:39:37 +01:00
|
|
|
#include "d3d11_view.h"
|
2017-11-29 20:19:40 +01:00
|
|
|
|
|
|
|
namespace dxvk {
|
|
|
|
|
2017-12-04 13:39:37 +01:00
|
|
|
struct D3D11ContextStateOM {
|
2017-12-05 12:59:35 +01:00
|
|
|
std::array<
|
|
|
|
Com<D3D11RenderTargetView>,
|
|
|
|
D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT> renderTargetViews;
|
|
|
|
|
2017-12-04 13:39:37 +01:00
|
|
|
Rc<DxvkFramebuffer> framebuffer;
|
|
|
|
};
|
|
|
|
|
2017-12-05 12:59:35 +01:00
|
|
|
|
2017-11-29 20:19:40 +01:00
|
|
|
/**
|
|
|
|
* \brief Context state
|
|
|
|
*/
|
|
|
|
struct D3D11ContextState {
|
2017-12-04 13:39:37 +01:00
|
|
|
D3D11ContextStateOM om;
|
2017-11-29 20:19:40 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|