[D3D12] HLSL shader translator stores
This commit is contained in:
@@ -71,6 +71,7 @@ class HlslShaderTranslator : public ShaderTranslator {
|
||||
void EndPredicatedInstruction(bool conditional_emitted);
|
||||
|
||||
void EmitLoadOperand(uint32_t src_index, const InstructionOperand& op);
|
||||
void EmitStoreResult(const InstructionResult& result, bool source_is_scalar);
|
||||
|
||||
StringBuffer source_;
|
||||
uint32_t depth_ = 0;
|
||||
@@ -80,6 +81,8 @@ class HlslShaderTranslator : public ShaderTranslator {
|
||||
bool cf_exec_pred_ = false;
|
||||
bool cf_exec_pred_cond_ = false;
|
||||
|
||||
bool writes_depth_ = false;
|
||||
|
||||
std::vector<SRVBinding> srv_bindings_;
|
||||
// Finds or adds an SRV binding to the shader's SRV list, returns t# index.
|
||||
uint32_t AddSRVBinding(SRVType type, uint32_t fetch_constant);
|
||||
|
||||
Reference in New Issue
Block a user