Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sample[x](uv) not supported #70

Open
siliconvoodoo opened this issue Oct 21, 2022 · 0 comments
Open

sample[x](uv) not supported #70

siliconvoodoo opened this issue Oct 21, 2022 · 0 comments
Labels
invalid This doesn't seem right

Comments

@siliconvoodoo
Copy link
Contributor

siliconvoodoo commented Oct 21, 2022

from https://learn.microsoft.com/en-us/windows/win32/direct3dhlsl/sm5-object-texture2dms-sampleoperatorindex

Texture2DMS<float4, 8> s_msTexture;

float4 main( float2 tcoord : TEXCOORD0 ) : SV_Target
{
     return s_msTexture.sample[2][tcoord];
}

results in

syntax error #1: mismatched input 'sample' expecting {'::', Identifier} (sample is a keyword)

Also to add in src/Texture2DMSto2DCodeMutator.cpp

@siliconvoodoo siliconvoodoo added the invalid This doesn't seem right label Oct 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

1 participant