Merge pull request #1895 from amdrexu/bugfix

Fix incorrect function prototypes of 64-bit findLSB/findMSB
This commit is contained in:
John Kessenich 2019-09-11 12:08:08 -06:00 committed by GitHub
commit fdd13ca10f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -996,25 +996,25 @@ void TBuiltIns::initialize(int version, EProfile profile, const SpvVersion& spvV
"bvec3 notEqual(u64vec3, u64vec3);"
"bvec4 notEqual(u64vec4, u64vec4);"
"int findLSB(int64_t);"
"ivec2 findLSB(i64vec2);"
"ivec3 findLSB(i64vec3);"
"ivec4 findLSB(i64vec4);"
"int64_t findLSB(int64_t);"
"i64vec2 findLSB(i64vec2);"
"i64vec3 findLSB(i64vec3);"
"i64vec4 findLSB(i64vec4);"
"int findLSB(uint64_t);"
"ivec2 findLSB(u64vec2);"
"ivec3 findLSB(u64vec3);"
"ivec4 findLSB(u64vec4);"
"int64_t findLSB(uint64_t);"
"i64vec2 findLSB(u64vec2);"
"i64vec3 findLSB(u64vec3);"
"i64vec4 findLSB(u64vec4);"
"int findMSB(int64_t);"
"ivec2 findMSB(i64vec2);"
"ivec3 findMSB(i64vec3);"
"ivec4 findMSB(i64vec4);"
"int64_t findMSB(int64_t);"
"i64vec2 findMSB(i64vec2);"
"i64vec3 findMSB(i64vec3);"
"i64vec4 findMSB(i64vec4);"
"int findMSB(uint64_t);"
"ivec2 findMSB(u64vec2);"
"ivec3 findMSB(u64vec3);"
"ivec4 findMSB(u64vec4);"
"int64_t findMSB(uint64_t);"
"i64vec2 findMSB(u64vec2);"
"i64vec3 findMSB(u64vec3);"
"i64vec4 findMSB(u64vec4);"
"\n"
);