intel/executor: Fix typo when copying result into Lua table

Fixes: e72bf2d02f ("intel: Add executor tool")
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33277>
This commit is contained in:
Caio Oliveira 2025-01-28 13:43:41 -08:00 committed by Marge Bot
parent 66076ca7e8
commit 080c136afb

View file

@ -704,7 +704,7 @@ l_execute(lua_State *L)
uint32_t *data = ec.bo.data.map;
const int n = ec.bo.data.size / 4;
lua_createtable(L, n, 0);
for (int i = 0; i < 8; i++) {
for (int i = 0; i < n; i++) {
lua_pushinteger(L, data[i]);
lua_seti(L, -2, i);
}