[vdi] Refactor texture/surface reference support.

Change-Id: I8014d82aae7139ef5f95e4b50c4fc6da200dbc9d


[ROCm/hip commit: 16d9fe5e37]
This commit is contained in:
Michael LIAO authored and Michael Hong Bin Liao committed 2020-04-21 11:56:48 -04:00
1 parent 45306fcdf6
commit c11c159905
16 files changed
+241 -69

No files matched your search

@@ -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) {