Skip to content

[Vulkan] Support testing multi sampled textures#1079

Open
luciechoi wants to merge 2 commits intollvm:mainfrom
luciechoi:texture2dms
Open

[Vulkan] Support testing multi sampled textures#1079
luciechoi wants to merge 2 commits intollvm:mainfrom
luciechoi:texture2dms

Conversation

@luciechoi
Copy link
Copy Markdown
Contributor

Add Vulkan support for testing multisampled texture resources Texture2DMS and Texture2DMSArray.

The existing CPU-buffer-to-image upload path doesn't initialize multi sampled textures correctly, so the change here was to run another compute pass that writes the test data into multisampled images before the test shader runs.

I also added SampleCount_N device feature to run only on those devices that support N sample counts.

@luciechoi
Copy link
Copy Markdown
Contributor Author

luciechoi commented Apr 13, 2026

cc: @Keenuts

On whether we can reduce the glsl dependency here:

I realized we cannot rewrite the data transfer shaders in HLSL in the test files, since RWTexture2DMS isn't implemtented in DXC (FR) (Texture2DMS is only read-only)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant