diff options
author | Kenneth Graunke <[email protected]> | 2017-08-10 20:47:53 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2017-08-12 01:41:24 -0700 |
commit | da0840246fd91134a61e35f1bd987d77111aed26 (patch) | |
tree | 76c40a63ef0580b959b63ebdb3cb325e4f551172 /src/mesa/program/prog_execute.c | |
parent | b420680edec636127360c00442f20a8afd6377cc (diff) |
i965: Clean up intel_batchbuffer_init().
Passing screen lets us get the kernel features, devinfo, and bufmgr,
without needing container_of.
This use of container_of could cause crashes due to issues with the
"sample" macro parameter.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102062
Reviewed-by: Tapani Pälli <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Reviewed-by: Iago Toral Quiroga <[email protected]>
Diffstat (limited to 'src/mesa/program/prog_execute.c')
0 files changed, 0 insertions, 0 deletions