diff options
author | Kenneth Graunke <[email protected]> | 2018-12-12 01:41:39 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:11 -0800 |
commit | e169cb09c333723c20d9ed627273cfa80af02ce0 (patch) | |
tree | 79bc2bc1b0a0bd411a484cf7ad7c73e630e388ae /src/gallium/drivers/iris/iris_context.h | |
parent | dd0d47a5d278a5c09674428ede4b6d1b5eca94d6 (diff) |
iris: pin and re-pin the scratch BO
Diffstat (limited to 'src/gallium/drivers/iris/iris_context.h')
-rw-r--r-- | src/gallium/drivers/iris/iris_context.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/iris/iris_context.h b/src/gallium/drivers/iris/iris_context.h index ac5bdaf26e3..596b195b5a8 100644 --- a/src/gallium/drivers/iris/iris_context.h +++ b/src/gallium/drivers/iris/iris_context.h @@ -628,9 +628,9 @@ const struct shader_info *iris_get_shader_info(const struct iris_context *ice, gl_shader_stage stage); unsigned iris_get_shader_num_ubos(const struct iris_context *ice, gl_shader_stage stage); -uint32_t iris_get_scratch_space(struct iris_context *ice, - unsigned per_thread_scratch, - gl_shader_stage stage); +struct iris_bo *iris_get_scratch_space(struct iris_context *ice, + unsigned per_thread_scratch, + gl_shader_stage stage); /* iris_program_cache.c */ |