ColorFormat::k_16_16_FLOAT support, maybe.
This commit is contained in:
parent
ff2c00e220
commit
c5c312eb8f
|
@ -2612,6 +2612,10 @@ bool CommandProcessor::IssueCopy() {
|
|||
read_format = GL_RG16;
|
||||
read_type = GL_UNSIGNED_SHORT;
|
||||
break;
|
||||
case ColorFormat::k_16_16_FLOAT:
|
||||
read_format = GL_RG16;
|
||||
read_type = GL_HALF_FLOAT;
|
||||
break;
|
||||
case ColorFormat::k_16_16_16_16_FLOAT:
|
||||
read_format = GL_RGBA;
|
||||
read_type = GL_HALF_FLOAT;
|
||||
|
|
Loading…
Reference in New Issue