Skip to content

[origin/wip-v3] sampler2DArray #2648

@solan-solan

Description

@solan-solan

About funding flow see also: #1819

How much do you want sponsor somebody to solve this feature: $0

Is your feature request related to a problem? Please describe.

There were many strong api changes inside origin/wip-v3. Is there some roadmap for this branch to understand its development?
There were removed ProgramState::setTextureArray. And sampler2DArray support appeared. But as I properly understand this feature is used just to pass alpha channel now?

    if (desc.arraySize == **2**)
    {
        setPremultipliedAlpha(Image::isCompressedImageHavePMA(Image::CompressedImagePMAFlag::DUAL_SAMPLER));
        _samplerFlags |= TextureSamplerFlag::DUAL_SAMPLER;
    }
    else
    {
        setPremultipliedAlpha(preMultipliedAlpha);
    }

Is there plan to use it in general cases? Or there some api which I missed?

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions