P4 to Git Change 1261640 by gandryey@gera-w8 on 2016/04/25 18:21:12

SWDEV-90482 - [Afterswitch] Interop from OpenGL to OpenCL is broken in one driver and crashes in another
	- Make sure SRD resource is reported to OS if program contains static samplers

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#314 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.hpp#67 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#4 edit
このコミットが含まれているのは:
foreman
2016-04-25 18:36:37 -04:00
コミット c484ae9061
4個のファイルの変更8行の追加2行の削除
+3
ファイルの表示
@@ -528,6 +528,9 @@ public:
//! Returns TRUE if the program just compiled
bool isNull() const { return isNull_; }
//! Returns TRUE if the program contains static samplers
bool isStaticSampler() const { return (staticSamplers_.size() != 0); }
protected:
//! pre-compile setup for GPU
virtual bool initBuild(amd::option::Options* options);