mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-16 06:38:58 +02:00
Revert "[spir-v] Add is_integer flag to texture descriptors and update image type handling"
This commit is contained in:
parent
38caca49c6
commit
dd4deb9796
4 changed files with 2 additions and 13 deletions
|
|
@ -30,7 +30,7 @@ enum class Operation {
|
|||
|
||||
Id ImageType(EmitContext& ctx, const TextureDescriptor& desc) {
|
||||
const spv::ImageFormat format{spv::ImageFormat::Unknown};
|
||||
const Id type{desc.is_integer ? ctx.U32[1] : ctx.F32[1]};
|
||||
const Id type{ctx.F32[1]};
|
||||
const bool depth{desc.is_depth};
|
||||
const bool ms{desc.is_multisample};
|
||||
switch (desc.type) {
|
||||
|
|
@ -1377,7 +1377,6 @@ void EmitContext::DefineTextures(const Info& info, u32& binding, u32& scaling_in
|
|||
.image_type = image_type,
|
||||
.count = desc.count,
|
||||
.is_multisample = desc.is_multisample,
|
||||
.is_integer = desc.is_integer,
|
||||
});
|
||||
if (profile.supported_spirv >= 0x00010400) {
|
||||
interfaces.push_back(id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue