# warning message....

**URL:** <https://forums.imgtec.com/t/warning-message/855>\
**Category:** PowerVR Insider\
**Created:** [October 8, 2010, 2:56am UTC](https://forums.imgtec.com/t/warning-message/855 "2010-10-08T02:56:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chlghduf314](https://avatars.discourse-cdn.com/v4/letter/c/ee7513/32.png) [@chlghduf314](https://forums.imgtec.com/u/chlghduf314)\
**Post date:** [October 8, 2010, 2:56am UTC](https://forums.imgtec.com/t/warning-message/855/1 "2010-10-08T02:56:03Z")

</div>

Why this message print??  
  
  
  
WARNING: 0:28: Calls to any function that may require a gradient calculation inside a conditional block may return undefined results

---

<div class="post-metadata">

**Author:** ![marco](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.imgtec.com/marco/32/96_2.png) [@marco](https://forums.imgtec.com/u/marco)\
**Post date:** [October 8, 2010, 8:55am UTC](https://forums.imgtec.com/t/warning-message/855/2 "2010-10-08T08:55:36Z")

</div>

Hi chlghduf314,  
  
this warning is given when you are using functions inside a conditional block which require gradient information.  
Gradient information is based on a 2x2 pixel block processing:   
if any of those pixels in a 2x2 block are not taking the same branch as the other pixels the resulting data,   
which is used for gradient calculation, might be undefined and thus the resulting gradient invalid.
