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
This commit is contained in:
@@ -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;
|
||||
|
||||
Verwijs in nieuw issue
Block a user