diff options
author | Samuel Iglesias Gonsálvez <[email protected]> | 2017-02-22 12:27:15 +0100 |
---|---|---|
committer | Samuel Iglesias Gonsálvez <[email protected]> | 2017-02-23 11:46:47 +0100 |
commit | a9c488f2858f8a383dd50e557ec8a832bcb35f47 (patch) | |
tree | c8dd746ea94eb3c05cd7c38d88c2697c53bcb0e1 /src/compiler/glsl/lower_jumps.cpp | |
parent | 42b9057447bde6a48c948ed71d23e935c250cef5 (diff) |
isl/state: fix assert on raw buffer surface state minimum size
From IVB PRM, SURFACE_STATE::Height:
"For typed buffer and structured buffer surfaces, the number of
entries in the buffer ranges from 1 to 2^27 . For raw buffer
surfaces, the number of entries in the buffer is the number of bytes
which can range from 1 to 2^30."
The minimum value is 1, according to the spec. The spec quote
was already added into the code by 028f6d8317f00.
Fixes crashing tests under:
dEQP-VK.robustness.buffer_access.*
Signed-off-by: Samuel Iglesias Gonsálvez <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/compiler/glsl/lower_jumps.cpp')
0 files changed, 0 insertions, 0 deletions