P4 to Git Change 1719281 by gandryey@gera-w8 on 2018/12/12 11:13:58

SWDEV-171895 - No Video playback while 10 bit pixel format is enable
	- Add GL_RGB10_EXT recognition. The format isn't officially supported in the Khronos OCL specification for GL interop. Thus GL_RGB10_EXT doesn't have any test coverage.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl.cpp#61 edit
Этот коммит содержится в:
foreman committed 2018-12-12 11:24:44 -05:00
1 родитель 1b6dee43bd
Коммит 1739c7c88e
1 file changed
+1
+1
Просмотреть файл
@@ -993,6 +993,7 @@ bool getCLFormatFromGL(const Context& amdContext, GLint gliInternalFormat,
*/
switch (gliInternalFormat) {
case GL_RGB10_EXT:
case GL_RGB10_A2:
pclImageFormat->image_channel_order = CL_RGB;
pclImageFormat->image_channel_data_type = CL_UNORM_INT_101010;