Makes some VkFlags into VkAccessFlags to aid with code search. Also
corrects a few typos.

Bug: angleproject:6566
Change-Id: Ia4d14d38bb6d4e8c4c71fed6038c12edae112be9
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3264224
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
This commit is contained in:
Jamie Madill 2021-11-05 11:14:47 -04:00 коммит произвёл Angle LUCI CQ
Родитель e10768f07b
Коммит 4fd4eb5001
3 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -2301,7 +2301,7 @@ angle::Result UtilsVk::blitResolveImpl(ContextVk *contextVk,
shaderParams.flipY = params.flipY;
shaderParams.rotateXY = 0;
// Potentially make adjustments for pre-rotatation. Depending on the angle some of the
// Potentially make adjustments for pre-rotation. Depending on the angle some of the
// shaderParams need to be adjusted.
switch (params.rotation)
{

Просмотреть файл

@ -1068,7 +1068,7 @@ void CommandBufferHelper::imageRead(ContextVk *contextVk,
if (mIsRenderPassCommandBuffer)
{
// As noted in the header we don't support multiple read layouts for Images.
// We allow duplicate uses in the RP to accomodate for normal GL sampler usage.
// We allow duplicate uses in the RP to accommodate for normal GL sampler usage.
if (!usesImageInRenderPass(*image))
{
mRenderPassUsedImages.insert(image->getImageSerial().getValue());

Просмотреть файл

@ -796,8 +796,8 @@ class PipelineBarrier : angle::NonCopyable
void mergeMemoryBarrier(VkPipelineStageFlags srcStageMask,
VkPipelineStageFlags dstStageMask,
VkFlags srcAccess,
VkFlags dstAccess)
VkAccessFlags srcAccess,
VkAccessFlags dstAccess)
{
mSrcStageMask |= srcStageMask;
mDstStageMask |= dstStageMask;
@ -829,8 +829,8 @@ class PipelineBarrier : angle::NonCopyable
private:
VkPipelineStageFlags mSrcStageMask;
VkPipelineStageFlags mDstStageMask;
VkFlags mMemoryBarrierSrcAccess;
VkFlags mMemoryBarrierDstAccess;
VkAccessFlags mMemoryBarrierSrcAccess;
VkAccessFlags mMemoryBarrierDstAccess;
std::vector<VkImageMemoryBarrier> mImageMemoryBarriers;
};
using PipelineBarrierArray = angle::PackedEnumMap<PipelineStage, PipelineBarrier>;