clover: use pipe_resource references
authorJan Vesely <jan.vesely@rutgers.edu>
Thu, 2 Mar 2017 00:45:03 +0000 (19:45 -0500)
committerJan Vesely <jan.vesely@rutgers.edu>
Fri, 24 Mar 2017 19:57:47 +0000 (15:57 -0400)
commit14b543bdc94df06897f98057c40df84b16f2e944
treed383b4e7f774f01d3f22063dbf91bb8b4f2d8fbb
parent0a60ff4d8c187cf04f34441ccc1e3ed3b89bc982
clover: use pipe_resource references

v2: buffers are created with one reference.
v3: add pipe_resource reference to mapping object
v4: rename to pres and drop inline initializers

CC: "17.0 13.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/gallium/state_trackers/clover/core/resource.cpp
src/gallium/state_trackers/clover/core/resource.hpp