video_core: Generate mipmap texture by drawing
This commit is contained in:
parent
cbc2761f11
commit
9a95c7fa14
29 changed files with 259 additions and 8 deletions
|
@ -85,6 +85,8 @@ protected:
|
|||
u32 cached_highest = 0;
|
||||
u32 initial_offset = 0;
|
||||
|
||||
u32 viewport_transform_state = 1;
|
||||
|
||||
bool has_unbound_instructions = false;
|
||||
};
|
||||
|
||||
|
@ -102,6 +104,8 @@ public:
|
|||
|
||||
Shader::TextureType ReadTextureType(u32 handle) override;
|
||||
|
||||
u32 ReadViewportTransformState() override;
|
||||
|
||||
private:
|
||||
Tegra::Engines::Maxwell3D* maxwell3d{};
|
||||
size_t stage_index{};
|
||||
|
@ -120,6 +124,8 @@ public:
|
|||
|
||||
Shader::TextureType ReadTextureType(u32 handle) override;
|
||||
|
||||
u32 ReadViewportTransformState() override;
|
||||
|
||||
private:
|
||||
Tegra::Engines::KeplerCompute* kepler_compute{};
|
||||
};
|
||||
|
@ -143,6 +149,8 @@ public:
|
|||
|
||||
[[nodiscard]] Shader::TextureType ReadTextureType(u32 handle) override;
|
||||
|
||||
[[nodiscard]] u32 ReadViewportTransformState() override;
|
||||
|
||||
[[nodiscard]] u32 LocalMemorySize() const override;
|
||||
|
||||
[[nodiscard]] u32 SharedMemorySize() const override;
|
||||
|
@ -164,6 +172,7 @@ private:
|
|||
u32 read_lowest{};
|
||||
u32 read_highest{};
|
||||
u32 initial_offset{};
|
||||
u32 viewport_transform_state = 1;
|
||||
};
|
||||
|
||||
void SerializePipeline(std::span<const char> key, std::span<const GenericEnvironment* const> envs,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue