Update guidelines with rules regarding initialization of HW commands

Change-Id: I96a35cb082482ca09111f391b9df6f0e3927920f
This commit is contained in:
Zdanowicz, Zbigniew
2019-01-29 13:23:58 +01:00
committed by sys_ocldev
parent 3e75c837f9
commit 4916a16cc5

View File

@ -43,3 +43,6 @@ the driver behavior, do not bind tests to implementation.
* Make sure that test is fast, our test suite needs to complete in seconds for efficient development pace, as
a general rule test shouldn't be longer then 1ms in Debug driver.
# Coding guidelines
* HW commands and structures used in NEO must be initialized with constants defines for each Gfx Family: i.e. PIPE_CONTROL cmd = GfxFamily::cmdInitPipeControl
* Any new HW command or structure must have its own static constant initializer added to any Gfx Family that is going to use it.