[D3D12] Output gamma ramp

This commit is contained in:
Triang3l
2018-10-03 14:36:17 +03:00
parent c624bf8c49
commit b77ffe3df6
17 changed files with 483 additions and 51 deletions

View File

@@ -99,7 +99,7 @@ struct GammaRamp {
};
NormalEntry normal[256];
PWLEntry pwl[256];
PWLEntry pwl[128];
};
class CommandProcessor {
@@ -286,7 +286,8 @@ class CommandProcessor {
GammaRamp gamma_ramp_ = {};
int gamma_ramp_rw_subindex_ = 0;
bool dirty_gamma_ramp_ = true;
bool dirty_gamma_ramp_normal_ = true;
bool dirty_gamma_ramp_pwl_ = true;
};
} // namespace gpu