P4 to Git Change 1126532 by gandryey@gera-dev-w7 on 2015/03/02 17:19:16

ECR #304775 - Don't report depth stencil write support

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl.cpp#46 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl_amd.hpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.cpp#117 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.hpp#88 edit
This commit is contained in:
foreman
2015-03-02 17:54:56 -05:00
parent 3bb911a606
commit 006d563073
2 changed files with 19 additions and 18 deletions
+2 -1
View File
@@ -465,7 +465,8 @@ public:
bool isValid() const;
//! Returns true if this format is supported by runtime, false otherwise
bool isSupported(const Context& context, cl_mem_object_type image_type=0) const;
bool isSupported(const Context& context,
cl_mem_object_type image_type = 0, cl_mem_flags flags = 0) const;
//! Compare 2 image formats.
bool operator == (const Format& rhs) const {