A Visual Studio extension that provides enhanced support for editing High Level Shading Language (HLSL) files
562
stars
97
forks
source link
maxtessfactor should be defined to take float argument instead of int #75
Closed
OndrejPetrzilka closed 5 years ago
maxtessfactor
attribute is defined in intellisense to take int parameter, however, float parameter is correctIt even gives warning during HLSL compilation
[maxtessfactor(15)] // cannot match attribute maxtessfactor, parameter 1 is expected to be of type float
This works well
[maxtessfactor(15.0f)]