aboutsummaryrefslogtreecommitdiff
path: root/layers/buffer_validation.cpp
diff options
context:
space:
mode:
authorJames Jones <jajones@nvidia.com>2017-02-28 17:26:09 -0800
committerMark Young <marky@lunarg.com>2017-03-01 16:14:21 -0700
commit11cf4ae8a7d98c74d79eab9cb6c21ef62ed0f447 (patch)
tree2689a9fe2187b2f848b1aa7dfe875100b6fdd8e7 /layers/buffer_validation.cpp
parent3782bbd1fb33565647639a17a54b413ccf2e09a7 (diff)
downloadusermoji-11cf4ae8a7d98c74d79eab9cb6c21ef62ed0f447.tar.xz
loader: Fix handling of surface parameters
The loader code generation scripts had a bug that caused all the surface->ICD surface translation C code to be placed inside a block that only ran if the ICD didn't support the extension function, making it effectively a no-op. ICDs that supported the extension were instead called with the un-translated surface handle, which could cause a crash if they were expecting their local surface handle. Also, speculatively fix up return handling in this same class of functions by handling the void return type.
Diffstat (limited to 'layers/buffer_validation.cpp')
0 files changed, 0 insertions, 0 deletions