[vdi] Refactor texture/surface reference support.

Change-Id: I8014d82aae7139ef5f95e4b50c4fc6da200dbc9d


[ROCm/hip-tests commit: 8ec28891de]
Dieser Commit ist enthalten in:
Michael LIAO
2020-04-06 10:57:03 -04:00
committet von Michael Hong Bin Liao
Ursprung 28a2dbed5f
Commit 6174d0f0dd
@@ -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) {