#include "libANGLE/renderer/vulkan/vk_internal_shaders_autogen.h"
#define USE_SYSTEM_ZLIB
#include "compression_utils_portable.h"
namespace rx
{
namespace vk
{
namespace
{
#include "libANGLE/renderer/vulkan/shaders/gen/Blit3DSrc.frag.00000000.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/Blit3DSrc.frag.00000001.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/Blit3DSrc.frag.00000002.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/BlitResolve.frag.00000000.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/BlitResolve.frag.00000001.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/BlitResolve.frag.00000002.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/BlitResolve.frag.00000003.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/BlitResolve.frag.00000004.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/BlitResolve.frag.00000005.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/BlitResolve.frag.00000006.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/BlitResolve.frag.00000007.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/BlitResolve.frag.00000008.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/BlitResolve.frag.00000009.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/BlitResolve.frag.0000000A.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/BlitResolve.frag.0000000B.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/BlitResolve.frag.0000000C.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/BlitResolve.frag.0000000D.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/BlitResolve.frag.0000000E.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/BlitResolve.frag.0000000F.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/BlitResolve.frag.00000010.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/BlitResolve.frag.00000011.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/BlitResolve.frag.00000012.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/BlitResolve.frag.00000013.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/BlitResolve.frag.00000014.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/BlitResolve.frag.00000015.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/BlitResolve.frag.00000016.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/BlitResolve.frag.00000017.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/BlitResolveStencilNoExport.comp.00000000.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/BlitResolveStencilNoExport.comp.00000001.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/BlitResolveStencilNoExport.comp.00000002.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/BlitResolveStencilNoExport.comp.00000003.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ConvertIndex.comp.00000000.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ConvertIndex.comp.00000001.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ConvertIndex.comp.00000002.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ConvertIndex.comp.00000003.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ConvertIndexIndirectLineLoop.comp.00000000.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ConvertIndexIndirectLineLoop.comp.00000001.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ConvertIndexIndirectLineLoop.comp.00000002.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ConvertIndirectLineLoop.comp.00000000.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ConvertVertex.comp.00000000.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ConvertVertex.comp.00000001.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ConvertVertex.comp.00000002.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ConvertVertex.comp.00000003.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ConvertVertex.comp.00000004.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ConvertVertex.comp.00000005.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ConvertVertex.comp.00000006.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ConvertVertex.comp.00000007.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/CopyImageToBuffer.comp.00000000.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/CopyImageToBuffer.comp.00000001.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/EtcToBc.comp.00000000.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/EtcToBc.comp.00000001.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ExportStencil.frag.00000000.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/FullScreenTri.vert.00000000.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/GenerateFragmentShadingRate.comp.00000000.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/GenerateMipmap.comp.00000000.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/GenerateMipmap.comp.00000001.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/GenerateMipmap.comp.00000002.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/GenerateMipmap.comp.00000003.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/GenerateMipmap.comp.00000004.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/GenerateMipmap.comp.00000005.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/GenerateMipmap.comp.00000006.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/GenerateMipmap.comp.00000007.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/GenerateMipmap.comp.00000008.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/GenerateMipmap.comp.00000009.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.00000000.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.00000001.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.00000002.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.00000003.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.00000004.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.00000005.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.00000006.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.00000007.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.00000008.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.00000009.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.0000000A.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.0000000B.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.0000000C.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.0000000D.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.0000000E.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.0000000F.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.00000010.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.00000011.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.00000012.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.00000013.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.00000014.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.00000015.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.00000016.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.00000017.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.00000018.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.00000019.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.0000001A.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.0000001B.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.0000001C.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.0000001D.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.0000001E.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.0000001F.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.00000020.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.00000021.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.00000022.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.00000023.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.00000024.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.00000025.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.00000026.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.00000027.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.00000028.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.00000029.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.0000002A.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.0000002B.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.0000002C.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.0000002D.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.0000002E.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageClear.frag.0000002F.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.00000000.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.00000001.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.00000002.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.00000003.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.00000004.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.00000005.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.00000006.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.00000007.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.00000008.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.00000009.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.0000000A.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.0000000B.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.00000010.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.00000011.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.00000012.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.00000013.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.00000014.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.00000015.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.00000016.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.00000017.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.00000018.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.00000019.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.0000001A.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.0000001B.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.00000020.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.00000021.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.00000022.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.00000023.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.00000024.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.00000025.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.00000026.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.00000027.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.00000028.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.00000029.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.0000002A.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/ImageCopy.frag.0000002B.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/OverlayDraw.frag.00000000.inc"
#include "libANGLE/renderer/vulkan/shaders/gen/OverlayDraw.vert.00000000.inc"
struct CompressedShaderBlob
{ … };
constexpr CompressedShaderBlob kBlit3DSrc_frag_shaders[] = …;
constexpr CompressedShaderBlob kBlitResolve_frag_shaders[] = …;
constexpr CompressedShaderBlob kBlitResolveStencilNoExport_comp_shaders[] = …;
constexpr CompressedShaderBlob kConvertIndex_comp_shaders[] = …;
constexpr CompressedShaderBlob kConvertIndexIndirectLineLoop_comp_shaders[] = …;
constexpr CompressedShaderBlob kConvertIndirectLineLoop_comp_shaders[] = …;
constexpr CompressedShaderBlob kConvertVertex_comp_shaders[] = …;
constexpr CompressedShaderBlob kCopyImageToBuffer_comp_shaders[] = …;
constexpr CompressedShaderBlob kEtcToBc_comp_shaders[] = …;
constexpr CompressedShaderBlob kExportStencil_frag_shaders[] = …;
constexpr CompressedShaderBlob kFullScreenTri_vert_shaders[] = …;
constexpr CompressedShaderBlob kGenerateFragmentShadingRate_comp_shaders[] = …;
constexpr CompressedShaderBlob kGenerateMipmap_comp_shaders[] = …;
constexpr CompressedShaderBlob kImageClear_frag_shaders[] = …;
constexpr CompressedShaderBlob kImageCopy_frag_shaders[] = …;
constexpr CompressedShaderBlob kOverlayDraw_frag_shaders[] = …;
constexpr CompressedShaderBlob kOverlayDraw_vert_shaders[] = …;
angle::Result GetShader(Context *context,
RefCounted<ShaderModule> *shaders,
const CompressedShaderBlob *compressedShaderBlobs,
size_t shadersCount,
uint32_t shaderFlags,
RefCounted<ShaderModule> **shaderOut)
{ … }
}
ShaderLibrary::ShaderLibrary() { … }
ShaderLibrary::~ShaderLibrary() { … }
void ShaderLibrary::destroy(VkDevice device)
{ … }
angle::Result ShaderLibrary::getBlit3DSrc_frag(Context *context,
uint32_t shaderFlags,
RefCounted<ShaderModule> **shaderOut)
{ … }
angle::Result ShaderLibrary::getBlitResolve_frag(Context *context,
uint32_t shaderFlags,
RefCounted<ShaderModule> **shaderOut)
{ … }
angle::Result ShaderLibrary::getBlitResolveStencilNoExport_comp(
Context *context,
uint32_t shaderFlags,
RefCounted<ShaderModule> **shaderOut)
{ … }
angle::Result ShaderLibrary::getConvertIndex_comp(Context *context,
uint32_t shaderFlags,
RefCounted<ShaderModule> **shaderOut)
{ … }
angle::Result ShaderLibrary::getConvertIndexIndirectLineLoop_comp(
Context *context,
uint32_t shaderFlags,
RefCounted<ShaderModule> **shaderOut)
{ … }
angle::Result ShaderLibrary::getConvertIndirectLineLoop_comp(Context *context,
uint32_t shaderFlags,
RefCounted<ShaderModule> **shaderOut)
{ … }
angle::Result ShaderLibrary::getConvertVertex_comp(Context *context,
uint32_t shaderFlags,
RefCounted<ShaderModule> **shaderOut)
{ … }
angle::Result ShaderLibrary::getCopyImageToBuffer_comp(Context *context,
uint32_t shaderFlags,
RefCounted<ShaderModule> **shaderOut)
{ … }
angle::Result ShaderLibrary::getEtcToBc_comp(Context *context,
uint32_t shaderFlags,
RefCounted<ShaderModule> **shaderOut)
{ … }
angle::Result ShaderLibrary::getExportStencil_frag(Context *context,
uint32_t shaderFlags,
RefCounted<ShaderModule> **shaderOut)
{ … }
angle::Result ShaderLibrary::getFullScreenTri_vert(Context *context,
uint32_t shaderFlags,
RefCounted<ShaderModule> **shaderOut)
{ … }
angle::Result ShaderLibrary::getGenerateFragmentShadingRate_comp(
Context *context,
uint32_t shaderFlags,
RefCounted<ShaderModule> **shaderOut)
{ … }
angle::Result ShaderLibrary::getGenerateMipmap_comp(Context *context,
uint32_t shaderFlags,
RefCounted<ShaderModule> **shaderOut)
{ … }
angle::Result ShaderLibrary::getImageClear_frag(Context *context,
uint32_t shaderFlags,
RefCounted<ShaderModule> **shaderOut)
{ … }
angle::Result ShaderLibrary::getImageCopy_frag(Context *context,
uint32_t shaderFlags,
RefCounted<ShaderModule> **shaderOut)
{ … }
angle::Result ShaderLibrary::getOverlayDraw_frag(Context *context,
uint32_t shaderFlags,
RefCounted<ShaderModule> **shaderOut)
{ … }
angle::Result ShaderLibrary::getOverlayDraw_vert(Context *context,
uint32_t shaderFlags,
RefCounted<ShaderModule> **shaderOut)
{ … }
}
}