@@ -528,7 +528,7 @@ TEST(RootSignature, ParseStaticSamplers) {
528
528
}
529
529
530
530
TEST (RootSignature, ParseStaticSamplersV13) {
531
- SmallString<160 > Storage;
531
+ SmallString<128 > Storage;
532
532
533
533
// First read a fully explicit yaml with all sizes and offsets provided
534
534
ASSERT_TRUE (convert (Storage, R"( --- !dxcontainer
@@ -551,19 +551,9 @@ TEST(RootSignature, ParseStaticSamplersV13) {
551
551
StaticSamplersOffset: 24
552
552
Parameters: []
553
553
Samplers:
554
- - Filter: MinLinearMagMipPoint
555
- AddressU: Wrap
556
- AddressV: Mirror
557
- AddressW: MirrorOnce
558
- MipLODBias: 1.23
559
- MaxAnisotropy: 20
560
- ComparisonFunc: LessEqual
561
- BorderColor: TransparentBlack
562
- MinLOD: 4.56
563
- MaxLOD: 8.90
564
- ShaderRegister: 31
554
+ - ShaderRegister: 31
565
555
RegisterSpace: 32
566
- ShaderVisibility: Mesh
556
+ ShaderVisibility: All
567
557
SAMPLER_FLAG_UINT_BORDER_COLOR: true
568
558
AllowInputAssemblerInputLayout: true
569
559
DenyGeometryShaderRootAccess: true
@@ -577,11 +567,11 @@ TEST(RootSignature, ParseStaticSamplersV13) {
577
567
0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 ,
578
568
0x52 , 0x54 , 0x53 , 0x30 , 0x4c , 0x00 , 0x00 , 0x00 , 0x03 , 0x00 , 0x00 , 0x00 ,
579
569
0x00 , 0x00 , 0x00 , 0x00 , 0x18 , 0x00 , 0x00 , 0x00 , 0x01 , 0x00 , 0x00 , 0x00 ,
580
- 0x18 , 0x00 , 0x00 , 0x00 , 0x11 , 0x00 , 0x00 , 0x00 , 0x10 , 0x00 , 0x00 , 0x00 ,
581
- 0x01 , 0x00 , 0x00 , 0x00 , 0x02 , 0x00 , 0x00 , 0x00 , 0x05 , 0x00 , 0x00 , 0x00 ,
582
- 0xa4 , 0x70 , 0x9d , 0x3f , 0x14 , 0x00 , 0x00 , 0x00 , 0x04 , 0x00 , 0x00 , 0x00 ,
583
- 0x00 , 0x00 , 0x00 , 0x00 , 0x85 , 0xeb , 0x91 , 0x40 , 0x66 , 0x66 , 0x0e , 0x41 ,
584
- 0x1f , 0x00 , 0x00 , 0x00 , 0x20 , 0x00 , 0x00 , 0x00 , 0x07 , 0x00 , 0x00 , 0x00 ,
570
+ 0x18 , 0x00 , 0x00 , 0x00 , 0x11 , 0x00 , 0x00 , 0x00 , 0x55 , 0x00 , 0x00 , 0x00 ,
571
+ 0x01 , 0x00 , 0x00 , 0x00 , 0x01 , 0x00 , 0x00 , 0x00 , 0x01 , 0x00 , 0x00 , 0x00 ,
572
+ 0x00 , 0x00 , 0x00 , 0x00 , 0x10 , 0x00 , 0x00 , 0x00 , 0x04 , 0x00 , 0x00 , 0x00 ,
573
+ 0x02 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0xff , 0xff , 0x7f , 0x7f ,
574
+ 0x1f , 0x00 , 0x00 , 0x00 , 0x20 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 ,
585
575
0x01 , 0x00 , 0x00 , 0x00 };
586
576
587
577
EXPECT_EQ (Storage.size (), 148U );
0 commit comments