mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Add flag -fpreserve-vec3-type to internal options.
This flags informs compiler to not promote vec3 to vec4. Change-Id: I98d04954ccf07c625c64831087adf1d5abd38bf5
This commit is contained in:

committed by
sys_ocldev

parent
4aaa726758
commit
9f048c8ce7
@ -92,6 +92,8 @@ Program::Program(Context *context, bool isBuiltIn) : context(context), isBuiltIn
|
||||
if (DebugManager.flags.EnableStatelessToStatefulBufferOffsetOpt.get()) {
|
||||
internalOptions += "-cl-intel-has-buffer-offset-arg ";
|
||||
}
|
||||
|
||||
internalOptions += "-fpreserve-vec3-type ";
|
||||
}
|
||||
|
||||
Program::~Program() {
|
||||
|
Reference in New Issue
Block a user