aboutsummaryrefslogtreecommitdiff
path: root/layers/vk_layer_utils.h
AgeCommit message (Collapse)Author
2017-03-29layers: refactor layer utilsDave Houlton
Split format-related helper fxns out of vk_layer_utils.cpp into a new file vk_format_utils.cpp. Remove the duplicated fxns in the render framework and share the new format utils across both projects. Rename the util fxns into CamelCase per coding std. Change-Id: I0f9a34bc5931dfca085dfdc8d4800664aec526cf
2017-03-13layers: Add compressed texture query utilsMark Lobodzinski
These functions help to identify compressed formats categories. Change-Id: Ia21da00924eb1f5c6f4a5310676e056899c340af
2017-03-07layers, Fix checks for GH 1507Dave Houlton
Bugfix and refactor for github issue 1507 (and lunar exchange #652). Fixes buffer size calculation for compressed textures when copy extent is less than block size, corrected for mip level. Layer tests modified to avoid breakage from this fix. Change-Id: If91d6f8c7ce17a3e012923304a3b178e750d2659
2017-02-27layers: Added more format checks to utilsArda Coskunses
Change-Id: I1f91403656ddb9b69e3c519b35b95a48f3ac2bb4
2017-02-24layers: GL168, fix bad compressed texel block sizeMark Lobodzinski
The image<->buffer copy validation was checking against texel block sizes, but needed the block size in byte. Fixed the bad validation errors and renamed existing util function and updated a compressed texture size to match the spec. Change-Id: I40b9635a4fab131ab1525da51e94c4c5577217be
2017-02-16layers: Add checks&tests to Img-Buf copy - GH284Dave Houlton
Added 16 VU checks for CmdCopyImageToBuffer and CmdCopyBufferToImage Fixed 1 test in MiscImageLayerTests Added 12 test in ImageBufferCopyTests Individual commits: GH284 add VUs 1240, 1241, 1258, 1259 GH284 add VUs 1238, 1244 GH284 add 1271 1272 1273 1274 1279 1281 1746 1747 remove 1238 1244 1262 1269 GH284 add 1227 1228 1245 1246 GH284 fix validation test MiscImageLayerTests for VU 1269/1747 swap GH284 update database with new VU checks GH284 redo VUs 1227 1246, move them into core validation GH284 final checks and tests GH284 fix a rebase merge error GH284 fix uint64 format specifier that broke the Android build Change-Id: I5b69eddab945fb09d4cf3645349fa45a61576355
2017-01-26repo: Clang-format LVL source files using GoogleMark Lobodzinski
Switch clang-format standard from the LLVM style to the Google style for more consistency. Change-Id: I247c4abc275d7873a91522e1e234198adaa24033
2017-01-26repo: Clang-format c/cpp/h LVL files using LLVMMark Lobodzinski
Bring all source files in the repo up to date with consistent coding style/standard. Change-Id: Iceedbc17109974d3a0437fc4995441c9ad7e0c23
2016-12-27layers: Make comments consistentMark Lobodzinski
Change-Id: I07a249f02956e2cda57548a62f8993631d2b334a
2016-10-03layers: mark exported functions in layer utilsMike Stroyan
This allows layers to hide many functions that don't need export.
2016-09-18GH-951 - Improve validation for minImageTransferGranularityGregory Mitrano
Added missing BC1_RGBA formats to vk_format_is_compressed function Added function in vk_layer_utils to get block sizes for compressed formats
2016-08-29layers: Add white-list helper to layer utilsMark Lobodzinski
Change-Id: Idfc67481589ea9698ab82501889680044fcf8276
2016-04-19misc: Update licenses to Apache 2.0Jon Ashburn
Change-Id: Id447f4c8c53d33f9192940bdd3ae727b7b738a97
2016-03-24layers: fix bad api versionJon Ashburn
Change-Id: I664a773b7e8dfd7453754227f6a424311c4aa734
2016-03-22misc: Update to header version 1.0.6Jon Ashburn
Change-Id: Idf7a9d40278b796e16effa54e9b60668d275b8ec
2016-03-17layers: Fix 'Debug Report callbacks not removed' error messagesMark Lobodzinski
Change-Id: If214e07ab7fd8e50af0528c36595bf92716357f3
2016-03-16layers: Move layer debug action initialization into layer_utilsMark Lobodzinski
Also removed dead code from the layer generation script. Change-Id: I64fdcaaf1aed8152de62079568c8e247333d8c61
2016-03-08layers: clang-format layers directoryJon Ashburn
Change-Id: I318e3759829f33441e57aafedec1e9ec06d658c4
2016-02-10Remove Khronos confidential clause from license text.Karl Schultz
2016-02-08layers: Add string validation to param_checkerMark Lobodzinski
2016-02-08layers: Add UTF-8 String validation utilityMark Lobodzinski
2016-02-03Revert "layers: Clang-format changes for files in layers dir of repo"Mark Lobodzinski
This reverts commit e260acfb96ea20945149ede6a250ef622ca7fd03. The clang-format changes need to be postponed until just prior to public release to facilitate MRs.
2016-02-02layers: Clang-format changes for files in layers dir of repoMark Lobodzinski
2016-02-02layers: Validation Layer Copyright UpdatesMark Lobodzinski
2016-01-18layers: LX257, Validate Uniform/Storage buffer offset alignmentsMark Lobodzinski
2016-01-11layers: LX264, Validate immutable format bit in image layerMark Lobodzinski
2016-01-07layers: MR121, Use _BitScanForward for u_ffs on windowsMike Stroyan
The linux ffs function scans from least-significant-bit. To match that, u_ffs on windows should use _BitScanForward instead of _BitScanReverse.
2016-01-05layers: Fix circular make depencyMark Lobodzinski
2016-01-05layers: LX255, Print readable version of VkAccessFlagsMark Lobodzinski
Also update related validation messages to indicate src/dest accessMask
2015-12-17layers: Fix find-first-set bitscan utilMark Lobodzinski
On win32, was using leading-zero count instead of find-first-set. Caused random failures on Windows release builds.
2015-11-04layers: update copyright and authorship on some filesJon Ashburn
2015-10-27misc: Add intrin.h to support ffs utilityCourtney Goeltzenleuchter
2015-10-26layers: Add state-dependent image aspect/format checksMark Lobodzinski
2015-10-23WIP bug-14815: VkShaderStageCourtney Goeltzenleuchter
2015-09-22intel: Removed ICD validation checks from img.cMark Lobodzinski
Moved validation into device_limits layer, created layer utils files for format utilities, added validation tests, updated validation doc, updated test framework to call GetPhysicalDeviceProperties.