summaryrefslogtreecommitdiffstats
path: root/SConstruct
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-02-21 01:19:47 -0800
committerVinson Lee <[email protected]>2010-02-21 01:19:47 -0800
commit0b83f48e8263ab9ea7c30a929f1d5764b9c61d2a (patch)
tree1a0ce87f456d8011192ffbf2a1be7cd5262d7020 /SConstruct
parentd1aafb33b5193db351ece5887edad1c908cbf36b (diff)
i965g: Fix assertions that were always true.
The surface_format field is 9 bits wide which has a maximum value of 511. BRW_SURFACEFORMAT_INVALID has a value of 4095 which exceeds the width of the surface_format field. This patch asserts that the format is not BRW_SURFACEFORMAT_INVALID before assignment to the surface_format field.
Diffstat (limited to 'SConstruct')
0 files changed, 0 insertions, 0 deletions