diff options
| author | James Jones <jajones@nvidia.com> | 2017-02-28 17:26:09 -0800 |
|---|---|---|
| committer | Mark Young <marky@lunarg.com> | 2017-03-01 16:14:21 -0700 |
| commit | 11cf4ae8a7d98c74d79eab9cb6c21ef62ed0f447 (patch) | |
| tree | 2689a9fe2187b2f848b1aa7dfe875100b6fdd8e7 /layers/buffer_validation.cpp | |
| parent | 3782bbd1fb33565647639a17a54b413ccf2e09a7 (diff) | |
| download | usermoji-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
