Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HLSL: add standard sample position return form of GetSamplePosition m…
…ethod Multisample textures support a GetSamplePosition() method intended to query positions given a sample index. This cannot be truly implemented in SPIR-V, but #753 requested returning standard positions for the 1..16 cases, which this PR adds. Anything besides that returns (0,0). If the standard positions are not used, this will be wrong. This should be revisited when there is a real query available.
- Loading branch information