Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions impeller/entity/shaders/position.vert
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,8 @@ uniform VertInfo {
in vec2 position;

out vec4 v_color;
out vec2 v_position;

void main() {
gl_Position = vert_info.mvp * vec4(position, 0.0, 1.0);
v_color = vert_info.color;
v_position = IPVec2TransformPosition(vert_info.mvp, position);
}
2 changes: 0 additions & 2 deletions impeller/entity/shaders/position_color.vert
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,8 @@ in vec2 position;
in vec4 color;

out vec4 v_color;
out vec2 v_position;

void main() {
gl_Position = vert_info.mvp * vec4(position, 0.0, 1.0);
v_color = color;
v_position = IPVec2TransformPosition(vert_info.mvp, position);
}
3 changes: 2 additions & 1 deletion impeller/renderer/backend/vulkan/pipeline_library_vk.cc
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,8 @@ std::unique_ptr<PipelineCreateInfoVK> PipelineLibraryVK::CreatePipeline(
auto pipeline =
device_.createGraphicsPipelineUnique(cache_.get(), pipeline_info);
if (pipeline.result != vk::Result::eSuccess) {
VALIDATION_LOG << "Could not create graphics pipeline: " << desc.GetLabel();
VALIDATION_LOG << "Could not create graphics pipeline - " << desc.GetLabel()
<< ": " << vk::to_string(pipeline.result);
return nullptr;
}

Expand Down