tests: Refactor DSBufferLimitErrors
authorMike Schuchardt <mikes@lunarg.com>
Wed, 13 Dec 2017 16:46:24 +0000 (09:46 -0700)
committerMike Schuchardt <mikes@lunarg.com>
Fri, 15 Dec 2017 15:42:22 +0000 (08:42 -0700)
commit08d2fe4fd52264c8709cdbfe502176ff9521df5d
treed7dc50700576bbd3c590d5134f36902c0d8a3686
parent96d59542613e257eb65bbaed646e7e98def18bb8
tests: Refactor DSBufferLimitErrors

- Fix overflow for large values of max*BufferRange
- Support arbitrary min*BufferOffsetAlignment, ie from mock_icd
- Split storage and uniform buffer testing for more coverage on devices
  where storage buffer limits can't be tested

Change-Id: Ibab36c76b93367c829f4f535ac710bb18f56e1bd
tests/layer_validation_tests.cpp