|
|
@ -608,7 +608,9 @@ ivec4 BlueContract(int a, int r, int g, int b) { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
bool IsHDRColorEndpointMode(uint cem) { |
|
|
bool IsHDRColorEndpointMode(uint cem) { |
|
|
return cem == 2u || cem == 3u || cem == 7u || cem == 11u || cem == 14u || cem == 15u; |
|
|
|
|
|
|
|
|
// return cem == 2u || cem == 3u || cem == 7u || cem == 11u || cem == 14u || cem == 15u; |
|
|
|
|
|
// once this test is done. |
|
|
|
|
|
return false; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// Sign-extends the low nbits of value (a 2's complement field packed into the bottom of an |
|
|
// Sign-extends the low nbits of value (a 2's complement field packed into the bottom of an |
|
|
|