[D3D12] DXBC pixel shader I/O and refactoring

This commit is contained in:
Triang3l
2018-08-31 13:00:47 +03:00
parent 639be6fdb8
commit 4c812da3f2
2 changed files with 123 additions and 67 deletions

View File

@@ -95,12 +95,6 @@ class DxbcShaderTranslator : public ShaderTranslator {
static constexpr uint32_t kPSInPositionRegister =
kPSInPointParametersRegister + 1;
// 4 tokens emitted to shader_object_ (NOT shader_code_).
void EmitDclResourceOperand(uint32_t type, uint32_t id, uint32_t lower_bound,
uint32_t upper_bound);
void EmitRet();
// Writes the epilogue.
void CompleteShaderCode();