summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/linker.cpp
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2016-06-09 18:13:26 -0700
committerKenneth Graunke <[email protected]>2016-06-12 00:40:15 -0700
commit1db37ebecf5af55215ace3801f8dbb8b10c5305e (patch)
treebd8a8b4d38fb33c8215ce3a332a4c93448f88854 /src/compiler/glsl/linker.cpp
parenta42a93dc123163f84058f3886e5ce1b02b9856f5 (diff)
i965: Assert that the scratch spaces are in range.
I don't know that anything actually guarantees this, but if we exceed the limits, we may end up overflowing and trashing random buffers that happen to be nearby in the VMA space, leading to rendering corruption, hangs, or worse. We should really fix this properly. However, the pitfall has existed for ages, so for now we should at least detect it. Cc: "12.0" <[email protected]> Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Francisco Jerez <[email protected]> Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/compiler/glsl/linker.cpp')
0 files changed, 0 insertions, 0 deletions