This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
impeller/playground/backend/vulkan Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 1212#include " flutter/fml/logging.h"
1313#include " flutter/fml/mapping.h"
1414#include " impeller/entity/vk/entity_shaders_vk.h"
15+ #include " impeller/entity/vk/modern_shaders_vk.h"
1516#include " impeller/fixtures/vk/fixtures_shaders_vk.h"
1617#include " impeller/playground/imgui/vk/imgui_shaders_vk.h"
1718#include " impeller/renderer/backend/vulkan/context_vk.h"
@@ -26,6 +27,8 @@ ShaderLibraryMappingsForPlayground() {
2627 return {
2728 std::make_shared<fml::NonOwnedMapping>(impeller_entity_shaders_vk_data,
2829 impeller_entity_shaders_vk_length),
30+ std::make_shared<fml::NonOwnedMapping>(impeller_modern_shaders_vk_data,
31+ impeller_modern_shaders_vk_length),
2932 std::make_shared<fml::NonOwnedMapping>(
3033 impeller_fixtures_shaders_vk_data,
3134 impeller_fixtures_shaders_vk_length),
Original file line number Diff line number Diff line change 1414#include " flutter/shell/gpu/gpu_surface_vulkan_impeller.h"
1515#include " flutter/vulkan/vulkan_native_surface_android.h"
1616#include " impeller/entity/vk/entity_shaders_vk.h"
17+ #include " impeller/entity/vk/modern_shaders_vk.h"
1718
1819namespace flutter {
1920
@@ -23,6 +24,8 @@ std::shared_ptr<impeller::Context> CreateImpellerContext(
2324 std::vector<std::shared_ptr<fml::Mapping>> shader_mappings = {
2425 std::make_shared<fml::NonOwnedMapping>(impeller_entity_shaders_vk_data,
2526 impeller_entity_shaders_vk_length),
27+ std::make_shared<fml::NonOwnedMapping>(impeller_modern_shaders_vk_data,
28+ impeller_modern_shaders_vk_length),
2629 };
2730
2831 PFN_vkGetInstanceProcAddr instance_proc_addr =
You can’t perform that action at this time.
0 commit comments