diff options
| author | Dustin Graves <dustin@lunarg.com> | 2016-04-14 15:03:31 -0600 |
|---|---|---|
| committer | Dustin Graves <dustin@lunarg.com> | 2016-04-18 11:51:12 -0600 |
| commit | bd690e5f72f4b4780886c9a8dbc1b890929d5d33 (patch) | |
| tree | 24086e2a591217d2544e4aedaa5bf8f86bc0f2f0 /layers/threading.cpp | |
| parent | 74fb72a917d223fa3d0e269f351bcd998bb98595 (diff) | |
| download | usermoji-bd690e5f72f4b4780886c9a8dbc1b890929d5d33.tar.xz | |
layers: Improved generated struct validation code
Improvements to the parameter validation code generator, primarily to
eliminate string concatenations performed when processing structs. A
validation function was being produced for each struct, which received a
string specifying the name of the struct parameter. This string was then
concatenated with the names of the struct members. The struct validation
code is no longer in a separate function, and a single string containing
the full names of each struct member (eg. pCreateInfo->pApplicationInfo)
is created at code generation time.
Change-Id: I2800bfbc26247e4e4c6f8c885c0e7c4b8b3776a2
Diffstat (limited to 'layers/threading.cpp')
0 files changed, 0 insertions, 0 deletions
