summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/prog_parameter.c
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2015-12-31 20:33:15 -0500
committerIlia Mirkin <[email protected]>2016-01-01 19:52:41 -0500
commitc1d14c6817e3fa9a1c04f9b6c51b4ca601637843 (patch)
tree68ed3f22186d577a49e97e4dbf031bb84579bca0 /src/mesa/program/prog_parameter.c
parent33a415310b2d958319a4391f6b6d325d9c7292cc (diff)
nv50,nvc0: make sure there's pushbuf space and that we ref the bo early
First off, we can't flush in the middle of a command. Secondly requesting the extra push space might cause a flush to happen. If that flush happens, we'd have to do the PUSH_REFN again. So instead do PUSH_REFN after the push space request. This helps avoid rare crashes with supertuxkart in libdrm due to assertion failures. Signed-off-by: Ilia Mirkin <[email protected]> Cc: "11.0 11.1" <[email protected]>
Diffstat (limited to 'src/mesa/program/prog_parameter.c')
0 files changed, 0 insertions, 0 deletions