mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-16 12:47:59 -05:00
shader, video_core: Fix GCC build errors
This commit is contained in:
@ -143,9 +143,6 @@ void ComputePipeline::Configure() {
|
||||
}
|
||||
texture_cache.FillComputeImageViews(std::span(views.data(), views.size()));
|
||||
|
||||
const bool is_rescaling{texture_cache.IsRescaling()};
|
||||
const f32 config_down_factor{Settings::values.resolution_info.down_factor};
|
||||
const f32 down_factor{is_rescaling ? config_down_factor : 1.0f};
|
||||
if (assembly_program.handle != 0) {
|
||||
program_manager.BindComputeAssemblyProgram(assembly_program.handle);
|
||||
} else {
|
||||
|
@ -41,13 +41,9 @@ using VideoCore::Surface::PixelFormatFromRenderTargetFormat;
|
||||
using namespace Common::Literals;
|
||||
|
||||
struct ImageViewInOut {
|
||||
u32 index;
|
||||
bool blacklist;
|
||||
union {
|
||||
struct Empty {
|
||||
} empty{};
|
||||
ImageViewId id;
|
||||
};
|
||||
u32 index{};
|
||||
bool blacklist{};
|
||||
ImageViewId id{};
|
||||
};
|
||||
|
||||
template <class P>
|
||||
|
Reference in New Issue
Block a user