Skip to content

Commit

Permalink
Fix rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
ngoquang2708 committed Nov 24, 2024
1 parent 56d4c82 commit 9e03718
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 1 addition & 5 deletions src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include "common/scope_exit.h"
#include "video_core/amdgpu/resource.h"
#include "video_core/buffer_cache/buffer_cache.h"
#include "video_core/renderer_vulkan/vk_pipeline_common.h"
#include "video_core/renderer_vulkan/vk_graphics_pipeline.h"
#include "video_core/renderer_vulkan/vk_instance.h"
#include "video_core/renderer_vulkan/vk_scheduler.h"
Expand All @@ -18,11 +19,6 @@ namespace Vulkan {

using Shader::LogicalStage;

static constexpr auto gp_stage_flags =
vk::ShaderStageFlagBits::eVertex | vk::ShaderStageFlagBits::eTessellationControl |
vk::ShaderStageFlagBits::eTessellationEvaluation | vk::ShaderStageFlagBits::eGeometry |
vk::ShaderStageFlagBits::eFragment;

GraphicsPipeline::GraphicsPipeline(const Instance& instance_, Scheduler& scheduler_,
DescriptorHeap& desc_heap_, const GraphicsPipelineKey& key_,
vk::PipelineCache pipeline_cache,
Expand Down
2 changes: 2 additions & 0 deletions src/video_core/renderer_vulkan/vk_pipeline_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ class BufferCache;
namespace Vulkan {

static constexpr auto gp_stage_flags = vk::ShaderStageFlagBits::eVertex |
vk::ShaderStageFlagBits::eTessellationControl |
vk::ShaderStageFlagBits::eTessellationEvaluation |
vk::ShaderStageFlagBits::eGeometry |
vk::ShaderStageFlagBits::eFragment;

Expand Down

0 comments on commit 9e03718

Please sign in to comment.