diff options
author | Hai Nguyen <379079+chaoticbob@users.noreply.github.com> | 2022-01-06 14:24:57 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-06 14:24:57 -0500 |
commit | e3b825c5ca3c92044a12d510d0ccd66e7e54bbd1 (patch) | |
tree | 427b61de74e9cb5ced81201fd93b943c7b412394 | |
parent | ab19025ab618bffa5c60072896f672dac8a60bd4 (diff) | |
parent | d7559acc33973440640dbc72aad6174c7e6aa526 (diff) | |
download | SPIRV-Reflect-e3b825c5ca3c92044a12d510d0ccd66e7e54bbd1.tar.gz |
Merge pull request #126 from MarijnS95/SpvOpImageTexelPointer
Add accessed pointers through OpImageTexelPointer to entrypoint
-rw-r--r-- | spirv_reflect.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spirv_reflect.c b/spirv_reflect.c index 0ff97dd..1357ecc 100644 --- a/spirv_reflect.c +++ b/spirv_reflect.c @@ -1036,6 +1036,7 @@ static SpvReflectResult ParseFunction( case SpvOpGenericPtrMemSemantics: case SpvOpInBoundsPtrAccessChain: case SpvOpStore: + case SpvOpImageTexelPointer: { ++(p_func->accessed_ptr_count); } @@ -1087,6 +1088,7 @@ static SpvReflectResult ParseFunction( case SpvOpArrayLength: case SpvOpGenericPtrMemSemantics: case SpvOpInBoundsPtrAccessChain: + case SpvOpImageTexelPointer: { CHECKED_READU32(p_parser, p_node->word_offset + 3, p_func->accessed_ptrs[p_func->accessed_ptr_count]); |