[vdi] Refactor texture/surface reference support.

Change-Id: I8014d82aae7139ef5f95e4b50c4fc6da200dbc9d
Этот коммит содержится в:
Michael LIAO
2020-04-06 10:57:03 -04:00
коммит произвёл Michael Hong Bin Liao
родитель db70fc66b7
Коммит 16d9fe5e37
16 изменённых файлов: 241 добавлений и 69 удалений
-9
Просмотреть файл
@@ -31,19 +31,10 @@ THE SOFTWARE.
const char *sampleName = "simpleTexture3D";
// Texture reference for 3D texture
#if __HIP__
__hip_pinned_shadow__
#endif
texture<float, hipTextureType3D, hipReadModeElementType> texf;
#if __HIP__
__hip_pinned_shadow__
#endif
texture<int, hipTextureType3D, hipReadModeElementType> texi;
#if __HIP__
__hip_pinned_shadow__
#endif
texture<char, hipTextureType3D, hipReadModeElementType> texc;
template <typename T>