mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-14 13:51:04 +00:00
Fix incorrect function prototypes of 64-bit findLSB/findMSB
According to the 32-bit counterparts, their forms should be genI64Type findLSB(genI64Type value) genI64Type findLSB(genU64Type value) genI64Type findMSB(genI64Type value) genI64Type findMSB(genU64Type value)
This commit is contained in:
parent
664ad418f8
commit
3b1b9e2957
@ -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"
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user