@@ -2314,7 +2314,7 @@ typedef struct tagRENDER_SURFACE_STATE {
23142314        return  state;
23152315    }
23162316    inline  uint32_t  &getRawData (const  uint32_t  index) {
2317-         UNRECOVERABLE_IF (index >= 16 );
2317+         DEBUG_BREAK_IF (index >= 16 );
23182318        return  TheStructure.RawData [index];
23192319    }
23202320    inline  void  setCubeFaceEnablePositiveZ (const  bool  value) {
@@ -2430,7 +2430,7 @@ typedef struct tagRENDER_SURFACE_STATE {
24302430        SURFACEQPITCH_ALIGN_SIZE = 0x4 ,
24312431    } SURFACEQPITCH;
24322432    inline  void  setSurfaceQpitch (const  uint32_t  value) {
2433-         UNRECOVERABLE_IF (value > 0x1ffff );
2433+         DEBUG_BREAK_IF (value > 0x7fff );
24342434        TheStructure.Common .SurfaceQpitch  = value >> SURFACEQPITCH_BIT_SHIFT;
24352435    }
24362436    inline  uint32_t  getSurfaceQpitch (void ) const  {
@@ -2455,7 +2455,7 @@ typedef struct tagRENDER_SURFACE_STATE {
24552455        return  TheStructure.Common .CornerTexelMode ;
24562456    }
24572457    inline  void  setBaseMipLevel (const  uint32_t  value) {
2458-         UNRECOVERABLE_IF (value > 0x1f );
2458+         DEBUG_BREAK_IF (value > 0xf80000 );
24592459        TheStructure.Common .BaseMipLevel  = value;
24602460    }
24612461    inline  uint32_t  getBaseMipLevel (void ) const  {
@@ -2468,7 +2468,7 @@ typedef struct tagRENDER_SURFACE_STATE {
24682468        return  (TheStructure.Common .MemoryObjectControlStateReserved_56 );
24692469    }
24702470    inline  void  setMemoryObjectControlStateIndexToMocsTables (const  uint32_t  value) {
2471-         UNRECOVERABLE_IF (value > 0x3f );
2471+         DEBUG_BREAK_IF (value > 0x7e000000L );
24722472        TheStructure.Common .MemoryObjectControlStateIndexToMocsTables  = value >> 1 ;
24732473    }
24742474    inline  uint32_t  getMemoryObjectControlStateIndexToMocsTables (void ) const  {
@@ -2510,7 +2510,7 @@ typedef struct tagRENDER_SURFACE_STATE {
25102510        return  TheStructure.Common .DepthStencilResource ;
25112511    }
25122512    inline  void  setSurfacePitch (const  uint32_t  value) {
2513-         UNRECOVERABLE_IF (value > 0x3ffff );
2513+         DEBUG_BREAK_IF (value > 0x3ffff );
25142514        TheStructure.Common .SurfacePitch  = value - 1 ;
25152515    }
25162516    inline  uint32_t  getSurfacePitch (void ) const  {
@@ -2542,7 +2542,7 @@ typedef struct tagRENDER_SURFACE_STATE {
25422542        return  TheStructure.Common .Depth  + 1 ;
25432543    }
25442544    inline  void  setMultisamplePositionPaletteIndex (const  uint32_t  value) {
2545-         UNRECOVERABLE_IF (value > 0x7 );
2545+         DEBUG_BREAK_IF (value > 0x7 );
25462546        TheStructure.Common .MultisamplePositionPaletteIndex  = value;
25472547    }
25482548    inline  uint32_t  getMultisamplePositionPaletteIndex (void ) const  {
@@ -2561,14 +2561,14 @@ typedef struct tagRENDER_SURFACE_STATE {
25612561        return  static_cast <MULTISAMPLED_SURFACE_STORAGE_FORMAT>(TheStructure.Common .MultisampledSurfaceStorageFormat );
25622562    }
25632563    inline  void  setRenderTargetViewExtent (const  uint32_t  value) {
2564-         UNRECOVERABLE_IF (value > 0x7ff );
2564+         DEBUG_BREAK_IF (value > 0x7ff );
25652565        TheStructure.Common .RenderTargetViewExtent  = value - 1 ;
25662566    }
25672567    inline  uint32_t  getRenderTargetViewExtent (void ) const  {
25682568        return  TheStructure.Common .RenderTargetViewExtent  + 1 ;
25692569    }
25702570    inline  void  setMinimumArrayElement (const  uint32_t  value) {
2571-         UNRECOVERABLE_IF (value > 0x7ff );
2571+         DEBUG_BREAK_IF (value > 0x7ff );
25722572        TheStructure.Common .MinimumArrayElement  = value;
25732573    }
25742574    inline  uint32_t  getMinimumArrayElement (void ) const  {
@@ -2581,21 +2581,21 @@ typedef struct tagRENDER_SURFACE_STATE {
25812581        return  static_cast <RENDER_TARGET_AND_SAMPLE_UNORM_ROTATION>(TheStructure.Common .RenderTargetAndSampleUnormRotation );
25822582    }
25832583    inline  void  setMipCountLod (const  uint32_t  value) {
2584-         UNRECOVERABLE_IF (value > 0xf );
2584+         DEBUG_BREAK_IF (value > 0xf );
25852585        TheStructure.Common .MipCountLod  = value;
25862586    }
25872587    inline  uint32_t  getMipCountLod (void ) const  {
25882588        return  TheStructure.Common .MipCountLod ;
25892589    }
25902590    inline  void  setSurfaceMinLod (const  uint32_t  value) {
2591-         UNRECOVERABLE_IF (value > 0xf );
2591+         DEBUG_BREAK_IF (value > 0xf0 );
25922592        TheStructure.Common .SurfaceMinLod  = value;
25932593    }
25942594    inline  uint32_t  getSurfaceMinLod (void ) const  {
25952595        return  TheStructure.Common .SurfaceMinLod ;
25962596    }
25972597    inline  void  setMipTailStartLod (const  uint32_t  value) {
2598-         UNRECOVERABLE_IF (value > 0xf );
2598+         DEBUG_BREAK_IF (value > 0xf00 );
25992599        TheStructure.Common .MipTailStartLod  = value;
26002600    }
26012601    inline  uint32_t  getMipTailStartLod (void ) const  {
@@ -2624,7 +2624,7 @@ typedef struct tagRENDER_SURFACE_STATE {
26242624        YOFFSET_ALIGN_SIZE = 0x4 ,
26252625    } YOFFSET;
26262626    inline  void  setYOffset (const  uint32_t  value) {
2627-         UNRECOVERABLE_IF (value > 0x1f );
2627+         DEBUG_BREAK_IF (value > 0xe00000 );
26282628        TheStructure.Common .YOffset  = value >> YOFFSET_BIT_SHIFT;
26292629    }
26302630    inline  uint32_t  getYOffset (void ) const  {
@@ -2635,7 +2635,7 @@ typedef struct tagRENDER_SURFACE_STATE {
26352635        XOFFSET_ALIGN_SIZE = 0x4 ,
26362636    } XOFFSET;
26372637    inline  void  setXOffset (const  uint32_t  value) {
2638-         UNRECOVERABLE_IF (value > 0x1ff );
2638+         DEBUG_BREAK_IF (value > 0xfe000000L );
26392639        TheStructure.Common .XOffset  = value >> XOFFSET_BIT_SHIFT;
26402640    }
26412641    inline  uint32_t  getXOffset (void ) const  {
@@ -2648,7 +2648,7 @@ typedef struct tagRENDER_SURFACE_STATE {
26482648        return  TheStructure.Common .YuvInterpolationEnable ;
26492649    }
26502650    inline  void  setResourceMinLod (const  uint32_t  value) {
2651-         UNRECOVERABLE_IF (value > 0xfff );
2651+         DEBUG_BREAK_IF (value > 0xfff );
26522652        TheStructure.Common .ResourceMinLod  = value;
26532653    }
26542654    inline  uint32_t  getResourceMinLod (void ) const  {
@@ -2704,14 +2704,14 @@ typedef struct tagRENDER_SURFACE_STATE {
27042704        return  TheStructure.Common .SurfaceBaseAddress ;
27052705    }
27062706    inline  void  setQuiltWidth (const  uint64_t  value) {
2707-         UNRECOVERABLE_IF (value > 0x1fL );
2707+         DEBUG_BREAK_IF (value > 0x1f );
27082708        TheStructure.Common .QuiltWidth  = value;
27092709    }
27102710    inline  uint64_t  getQuiltWidth (void ) const  {
27112711        return  TheStructure.Common .QuiltWidth ;
27122712    }
27132713    inline  void  setQuiltHeight (const  uint64_t  value) {
2714-         UNRECOVERABLE_IF (value > 0x1fL );
2714+         DEBUG_BREAK_IF (value > 0x3e0 );
27152715        TheStructure.Common .QuiltHeight  = value;
27162716    }
27172717    inline  uint64_t  getQuiltHeight (void ) const  {
@@ -2734,7 +2734,7 @@ typedef struct tagRENDER_SURFACE_STATE {
27342734        CLEARADDRESSLOW_ALIGN_SIZE = 0x40 ,
27352735    } CLEARADDRESSLOW;
27362736    inline  void  setClearColorAddress (const  uint32_t  value) {
2737-         UNRECOVERABLE_IF (value > 0xffffffff );
2737+         DEBUG_BREAK_IF (value > 0xffffffc0L );
27382738        TheStructure.Common .ClearAddressLow  = value >> CLEARADDRESSLOW_BIT_SHIFT;
27392739    }
27402740    inline  uint32_t  getClearColorAddress (void ) const  {
@@ -2748,14 +2748,14 @@ typedef struct tagRENDER_SURFACE_STATE {
27482748        return  TheStructure.Common .ClearAddressHigh ;
27492749    }
27502750    inline  void  setYOffsetForUOrUvPlane (const  uint32_t  value) {
2751-         UNRECOVERABLE_IF (value > 0x3fff );
2751+         DEBUG_BREAK_IF (value > 0x3fff );
27522752        TheStructure._SurfaceFormatIsPlanar .YOffsetForUOrUvPlane  = value;
27532753    }
27542754    inline  uint32_t  getYOffsetForUOrUvPlane (void ) const  {
27552755        return  TheStructure._SurfaceFormatIsPlanar .YOffsetForUOrUvPlane ;
27562756    }
27572757    inline  void  setXOffsetForUOrUvPlane (const  uint32_t  value) {
2758-         UNRECOVERABLE_IF (value > 0x3fff );
2758+         DEBUG_BREAK_IF (value > 0x3fff0000 );
27592759        TheStructure._SurfaceFormatIsPlanar .XOffsetForUOrUvPlane  = value;
27602760    }
27612761    inline  uint32_t  getXOffsetForUOrUvPlane (void ) const  {
@@ -2774,14 +2774,14 @@ typedef struct tagRENDER_SURFACE_STATE {
27742774        return  TheStructure._SurfaceFormatIsPlanar .SeparateUvPlaneEnable ;
27752775    }
27762776    inline  void  setYOffsetForVPlane (const  uint64_t  value) {
2777-         UNRECOVERABLE_IF (value > 0x3fffL );
2777+         DEBUG_BREAK_IF (value > 0x3fff00000000L );
27782778        TheStructure._SurfaceFormatIsPlanar .YOffsetForVPlane  = value;
27792779    }
27802780    inline  uint64_t  getYOffsetForVPlane (void ) const  {
27812781        return  TheStructure._SurfaceFormatIsPlanar .YOffsetForVPlane ;
27822782    }
27832783    inline  void  setXOffsetForVPlane (const  uint64_t  value) {
2784-         UNRECOVERABLE_IF (value > 0x3fffL );
2784+         DEBUG_BREAK_IF (value > 0x3fff000000000000L );
27852785        TheStructure._SurfaceFormatIsPlanar .XOffsetForVPlane  = value;
27862786    }
27872787    inline  uint64_t  getXOffsetForVPlane (void ) const  {
@@ -2794,7 +2794,7 @@ typedef struct tagRENDER_SURFACE_STATE {
27942794        return  static_cast <AUXILIARY_SURFACE_MODE>(TheStructure._SurfaceFormatIsnotPlanar .AuxiliarySurfaceMode );
27952795    }
27962796    inline  void  setAuxiliarySurfacePitch (const  uint32_t  value) {
2797-         UNRECOVERABLE_IF (value > 0x1ff );
2797+         DEBUG_BREAK_IF (value > 0xff8 );
27982798        TheStructure._SurfaceFormatIsnotPlanar .AuxiliarySurfacePitch  = value - 1 ;
27992799    }
28002800    inline  uint32_t  getAuxiliarySurfacePitch (void ) const  {
@@ -2805,7 +2805,7 @@ typedef struct tagRENDER_SURFACE_STATE {
28052805        AUXILIARYSURFACEQPITCH_ALIGN_SIZE = 0x4 ,
28062806    } AUXILIARYSURFACEQPITCH;
28072807    inline  void  setAuxiliarySurfaceQpitch (const  uint32_t  value) {
2808-         UNRECOVERABLE_IF (value > 0x1ffff );
2808+         DEBUG_BREAK_IF (value > 0x7fff0000L );
28092809        TheStructure._SurfaceFormatIsnotPlanar .AuxiliarySurfaceQpitch  = value >> AUXILIARYSURFACEQPITCH_BIT_SHIFT;
28102810    }
28112811    inline  uint32_t  getAuxiliarySurfaceQpitch (void ) const  {
@@ -2816,7 +2816,7 @@ typedef struct tagRENDER_SURFACE_STATE {
28162816        AUXILIARYSURFACEBASEADDRESS_ALIGN_SIZE = 0x1000 ,
28172817    } AUXILIARYSURFACEBASEADDRESS;
28182818    inline  void  setAuxiliarySurfaceBaseAddress (const  uint64_t  value) {
2819-         UNRECOVERABLE_IF (value > 0xffffffffffffffffL );
2819+         DEBUG_BREAK_IF (value > 0xfffffffffffff000L );
28202820        TheStructure._SurfaceFormatIsnotPlanarAndMemoryCompressionEnableIs0 .AuxiliarySurfaceBaseAddress  = value >> AUXILIARYSURFACEBASEADDRESS_BIT_SHIFT;
28212821    }
28222822    inline  uint64_t  getAuxiliarySurfaceBaseAddress (void ) const  {
0 commit comments