SWDEV-308644 - reorganize extra blit kernel in PAL stack
Change-Id: I9d853e8d417ef75b522184d83646ec4b9fa8669b
Этот коммит содержится в:
1 родитель
5243552768
Коммит
376ea1e293
7 files changed
+37
-27
No files matched your search
@@ -357,7 +357,7 @@ Device::BlitProgram::~BlitProgram() {
|
||||
}
|
||||
|
||||
bool Device::BlitProgram::create(amd::Device* device, const std::string& extraKernels,
|
||||
const char* extraOptions) {
|
||||
const std::string& extraOptions) {
|
||||
std::vector<amd::Device*> devices;
|
||||
devices.push_back(device);
|
||||
std::string kernels(device::BlitLinearSourceCode);
|
||||
@@ -383,7 +383,7 @@ bool Device::BlitProgram::create(amd::Device* device, const std::string& extraKe
|
||||
opt += "-Wf,--force_disable_spir -fno-lib-no-inline -fno-sc-keep-calls ";
|
||||
}
|
||||
|
||||
if (extraOptions != nullptr) {
|
||||
if (!extraOptions.empty()) {
|
||||
opt += extraOptions;
|
||||
}
|
||||
if (!GPU_DUMP_BLIT_KERNELS) {
|
||||
|
||||
Reference in new issue
Block a user