[D3D12] ROV: Check if supported
This commit is contained in:
@@ -23,7 +23,7 @@ namespace gpu {
|
||||
// Generates shader model 5_1 byte code (for Direct3D 12).
|
||||
class DxbcShaderTranslator : public ShaderTranslator {
|
||||
public:
|
||||
DxbcShaderTranslator();
|
||||
DxbcShaderTranslator(bool edram_rovs_used);
|
||||
~DxbcShaderTranslator() override;
|
||||
|
||||
// Constant buffer bindings in space 0.
|
||||
@@ -431,6 +431,9 @@ class DxbcShaderTranslator : public ShaderTranslator {
|
||||
// generated in the end of translation.
|
||||
std::vector<uint32_t> shader_object_;
|
||||
|
||||
// Whether the output merger should be emulated in pixel shaders.
|
||||
bool edram_rovs_used_;
|
||||
|
||||
// Data types used in constants buffers. Listed in dependency order.
|
||||
enum class RdefTypeIndex {
|
||||
kFloat,
|
||||
|
||||
Reference in New Issue
Block a user