From ef5142f0d044b3480790606536c492719c6e73ef Mon Sep 17 00:00:00 2001 From: sanine Date: Sat, 4 Feb 2023 12:53:00 -0600 Subject: implement kai_read_accessor() --- include/kalmia.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'include') diff --git a/include/kalmia.h b/include/kalmia.h index 615753c..06a555b 100644 --- a/include/kalmia.h +++ b/include/kalmia.h @@ -81,5 +81,15 @@ struct ka_param_t { char *semantic; }; +struct ka_accessor_t { + unsigned int count; /* required */ + unsigned int offset; /* default 0 */ + char *source; /* required */ + unsigned int stride; /* default 1 */ + + unsigned int param_count; + struct ka_param_t *param; +}; + #endif -- cgit v1.2.1