diff options
author | Nanley Chery <[email protected]> | 2018-03-26 14:32:18 -0700 |
---|---|---|
committer | Nanley Chery <[email protected]> | 2018-04-24 13:41:14 -0700 |
commit | 7ea013c6d3b515701df8a4d2a50578ee9b691272 (patch) | |
tree | 04d89b4c93d17c7d6ef9a8a5a625518188fb08e4 /scons/dxsdk.py | |
parent | b55077a8bc1e85400b43141f9ed4a1f4a322b420 (diff) |
i965: Add and use a getter for the clear color
It returns both the inline clear color and a clear address which points
to the indirect clear color buffer (or NULL if unused/non-existent).
This getter allows CNL to sample from fast-cleared sRGB textures
correctly by doing the needed sRGB-decode on the clear color (inline)
and making the indirect clear color buffer unused.
v2 (Rafael):
* Have a more detailed commit message.
* Add a comment on the sRGB conversion process.
Reviewed-by: Rafael Antognolli <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'scons/dxsdk.py')
0 files changed, 0 insertions, 0 deletions