[D3D12] ROV: Blend in linear color space

This commit is contained in:
Triang3l
2018-10-22 14:45:01 +03:00
parent 6b09c02c42
commit 729406dee2
2 changed files with 212 additions and 101 deletions

View File

@@ -731,6 +731,9 @@ class DxbcShaderTranslator : public ShaderTranslator {
// depending on the flag value. Uses system_temp_depth_.yz as scratch - w not
// touched.
void CompletePixelShader_DepthTo24Bit();
// This just converts the color output value from/to gamma space, not checking
// any conditions.
void CompletePixelShader_GammaCorrect(uint32_t color_temp, bool to_gamma);
void CompletePixelShader_WriteToRTVs();
// Extracts widths and offsets of the components in the lower or the upper
// dword of a pixel from the format constants, for use as ibfe and bfi