diff options
author | Charmaine Lee <[email protected]> | 2018-05-11 11:21:52 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2018-05-16 13:04:16 -0600 |
commit | 33a86acd785ed4ee5d1325d3e87e4f593d4c07b0 (patch) | |
tree | b102fa48d9678d411d538b922399688b1b14b9fa /src/gallium/drivers/virgl/virgl_hw.h | |
parent | 1261b34cd592822703a6848e78963c011447d2e7 (diff) |
svga: fix incompatible bind flags at buffer validation time
At buffer resource validation time, if the resource handle is not yet
created and if the initial buffer bind flags and the tobind flags are
incompatible, just use the tobind flags to create the resource handle.
On the other hand, if the bind flags are compatible, we can combine
the bind flags for the resource handle creation.
Fixes piglit gl-3.1-buffer-bindings crash.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/virgl/virgl_hw.h')
0 files changed, 0 insertions, 0 deletions