Skip to content

Commit

Permalink
Fix accmulator type for 64-bit variants of dotAccSatEXT
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
Change-Id: I67df435e5da65af460bacc40d5cba2379859516e
  • Loading branch information
kpet committed Mar 1, 2023
1 parent c53d337 commit 5e827e0
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions extensions/ext/GLSL_EXT_integer_dot_product.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Contributors
Kevin Petit, Arm Ltd. (kevin.petit 'at' arm.com)
Tobias Hector, AMD
Graeme Leese, Broadcom Corporation
Georg Lehmann

Status

Expand Down Expand Up @@ -233,20 +234,20 @@ Modifications to the OpenGL Shading Language Specification, Version 4.60

If GL_EXT_shader_explicit_arithmetic_types_int64 is enabled:

uint64_t dotAccSatEXT(u64vec2 a, u64vec2 b, uint c)
int64_t dotAccSatEXT(i64vec2 a, u64vec2 b, int c)
int64_t dotAccSatEXT(u64vec2 a, i64vec2 b, int c)
int64_t dotAccSatEXT(i64vec2 a, i64vec2 b, int c)
uint64_t dotAccSatEXT(u64vec2 a, u64vec2 b, uint64_t c)
int64_t dotAccSatEXT(i64vec2 a, u64vec2 b, int64_t c)
int64_t dotAccSatEXT(u64vec2 a, i64vec2 b, int64_t c)
int64_t dotAccSatEXT(i64vec2 a, i64vec2 b, int64_t c)

uint64_t dotAccSatEXT(u64vec3 a, u64vec3 b, uint c)
int64_t dotAccSatEXT(i64vec3 a, u64vec3 b, int c)
int64_t dotAccSatEXT(u64vec3 a, i64vec3 b, int c)
int64_t dotAccSatEXT(i64vec3 a, i64vec3 b, int c)
uint64_t dotAccSatEXT(u64vec3 a, u64vec3 b, uint64_t c)
int64_t dotAccSatEXT(i64vec3 a, u64vec3 b, int64_t c)
int64_t dotAccSatEXT(u64vec3 a, i64vec3 b, int64_t c)
int64_t dotAccSatEXT(i64vec3 a, i64vec3 b, int64_t c)

uint64_t dotAccSatEXT(u64vec4 a, u64vec4 b, uint c)
int64_t dotAccSatEXT(i64vec4 a, u64vec4 b, int c)
int64_t dotAccSatEXT(u64vec4 a, i64vec4 b, int c)
int64_t dotAccSatEXT(i64vec4 a, i64vec4 b, int c)
uint64_t dotAccSatEXT(u64vec4 a, u64vec4 b, uint64_t c)
int64_t dotAccSatEXT(i64vec4 a, u64vec4 b, int64_t c)
int64_t dotAccSatEXT(u64vec4 a, i64vec4 b, int64_t c)
int64_t dotAccSatEXT(i64vec4 a, i64vec4 b, int64_t c)

The function dotAccSatEXT() computes the dot product of the two input
vectors <a> and <b> and then returns the result of the saturating addtion
Expand Down

0 comments on commit 5e827e0

Please sign in to comment.