Change pipeline select programing

- Program one PS with gpgpu selection and media sampler
- Program PS only when media sampler requirement changed
  or when preamble was not sent

Change-Id: I85ba3f74087733e79d048e120aeb8b4b04796e00
This commit is contained in:
Mateusz Jablonski
2018-01-17 08:37:47 +01:00
committed by sys_ocldev
parent ae1213a98d
commit 13ac81f465
39 changed files with 361 additions and 561 deletions

View File

@@ -117,16 +117,9 @@ HWTEST_F(TwoIOQsTwoDependentWalkers, shouldHaveTwoWalkers) {
}
HWTEST_F(TwoIOQsTwoDependentWalkers, shouldHaveOnePS) {
typedef typename FamilyType::PIPELINE_SELECT PIPELINE_SELECT;
parseWalkers<FamilyType>();
auto itorCmd1 = find<PIPELINE_SELECT *>(cmdList.begin(), cmdList.end());
ASSERT_NE(cmdList.end(), itorCmd1);
auto itorCmd2 = itorCmd1;
++itorCmd2;
itorCmd2 = find<PIPELINE_SELECT *>(itorCmd2, cmdList.end());
EXPECT_EQ(cmdList.end(), itorCmd2);
int numCommands = getNumberOfPipelineSelectsThatEnablePipelineSelect<FamilyType>();
EXPECT_EQ(1, numCommands);
}
HWTEST_F(TwoIOQsTwoDependentWalkers, shouldHaveOneVFEState) {