Skip to content

[Feature Request] [Vulkan] Implement vk::SampledTexture type #7979

Closed

Description

@luciechoi

This is an issue created for the implementation of vk::SampledTexture type, whose design was written and approved here.

  • Implement the simplest type and methodvk::SampledTexture2D.Sample().
    • Allow default type parameter float4.
    • Allow optional arguments.
  • Implement all other builtin methods
    • CalculateLevelOfDetail
    • CalculateLevelOfDetailUnclamped
    • Gather
    • GetDimensions
    • GetSamplePosition
    • Load
    • SampleBias
    • SampleCmp
    • SampleCmpLevel
    • SampleCmpLevelZero
    • SampleCmpGrad
    • SampleCmpBias
    • SampleGrad
    • SampleLevel
    • GatherRed
    • GatherGreen
    • GatherBlue
    • GatherAlpha
    • GatherCmp
    • GatherCmpRed
    • GatherCmpGreen not available in Vulkan
    • GatherCmpBlue not available in Vulkan
    • GatherCmpAlpha not available in Vulkan
    • [] subscript operator
    • mips[] operator
    • sample[] operator
  • Implement for all other types
    • SampledTexture1D
    • SampledTexture1DArray
    • SampledTexture2DArray
    • SampledTexture2DMS
    • SampledTexture2DMSArray
    • SampledTexture3D
    • SampledTextureCUBE
    • SampledTextureCUBEArray
  • Add hlsl_vk_sampled_texture feature check to the preprocessor
  • Add tests to offload-test-suite.
  • Deprecate the old type and put warnings

Activity

  1. added
    enhancement
    needs-triage
    on Dec 5, 2025
  2. added
    spirv
    and removed
    needs-triage
    on Dec 5, 2025
  3. damyanp commented on Dec 8, 2025

    @damyanp
    Member

    Lucie Choi (@luciechoi) - proposal 34 is listed as "Under Review". If it's been approved, can you submit a PR that changes to state to "Accepted" please?

  4. added a commit that references this issue on Feb 18, 2026
  5. added 6 commits that reference this issue on Feb 19, 2026
  6. added a commit that references this issue on Mar 17, 2026
  7. added a commit that references this issue on Mar 23, 2026
  8. moved this from For Google to Triaged in HLSL Triageon Jun 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancementspirv

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions