ColorFormat::k_16_16_FLOAT support, maybe.

This commit is contained in:
gibbed 2015-05-12 06:51:20 -05:00
parent ff2c00e220
commit c5c312eb8f
1 changed files with 4 additions and 0 deletions

View File

@ -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;