mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-20 03:20:33 +01:00
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:
parent
66076ca7e8
commit
080c136afb
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue