mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 01:04:57 +08:00
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:
committed by
sys_ocldev
parent
ae1213a98d
commit
13ac81f465
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user