diff options
author | Marek Olšák <maraeo@gmail.com> | 2010-07-24 03:34:18 +0200 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2010-07-25 10:25:21 +0200 |
commit | 065e3f7ff2a9b6170e51b0104036088e8d163ea0 (patch) | |
tree | 04060c79de38bb73937803dd48673c617836f366 /src/glsl/pp/sl_pp_token_util.c | |
parent | 4ce26210842176c4b280b7db85639ced40d4083d (diff) |
r300g: reject resources from handles which are not large enough
The driver gets a buffer and its size in resource_from_handle.
It computes the required minimum buffer size from given texture
properties, and compares the two sizes.
This is to early detect DDX bugs.
Diffstat (limited to 'src/glsl/pp/sl_pp_token_util.c')
0 files changed, 0 insertions, 0 deletions