[vdi] Refactor texture/surface reference support.

Change-Id: I8014d82aae7139ef5f95e4b50c4fc6da200dbc9d
This commit is contained in:
Michael LIAO
2020-04-06 10:57:03 -04:00
committed by Michael Hong Bin Liao
parent db70fc66b7
commit 16d9fe5e37
16 changed files with 241 additions and 69 deletions
@@ -21,11 +21,7 @@ THE SOFTWARE.
*/
#include "hip/hip_runtime.h"
#if __HIP__
__hip_pinned_shadow__
#else
extern
#endif
texture<float, 2, hipReadModeElementType> tex;
extern "C" __global__ void tex2dKernel(float* outputData, int width, int height) {