Added k_16_16_16_16.

This commit is contained in:
gibbed 2015-06-06 18:10:17 -05:00
parent 429698c2ec
commit cc79934fee
1 changed files with 4 additions and 0 deletions

View File

@ -2632,6 +2632,10 @@ bool CommandProcessor::IssueCopy() {
read_format = GL_RG16; read_format = GL_RG16;
read_type = GL_HALF_FLOAT; read_type = GL_HALF_FLOAT;
break; break;
case ColorFormat::k_16_16_16_16:
read_format = GL_RGBA;
read_type = GL_UNSIGNED_SHORT;
break;
case ColorFormat::k_16_16_16_16_FLOAT: case ColorFormat::k_16_16_16_16_FLOAT:
read_format = GL_RGBA; read_format = GL_RGBA;
read_type = GL_HALF_FLOAT; read_type = GL_HALF_FLOAT;