From e9ffa97caa55038e3c6b469163f35b4f21a4a6de Mon Sep 17 00:00:00 2001 From: DH Date: Mon, 17 Jul 2023 15:41:58 +0300 Subject: [PATCH] [rpcsx-gpu] Upload missed file --- hw/amdgpu/shader/include/amdgpu/shader/ConverterContext.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hw/amdgpu/shader/include/amdgpu/shader/ConverterContext.hpp b/hw/amdgpu/shader/include/amdgpu/shader/ConverterContext.hpp index f607d12f2..f8dfd22a2 100644 --- a/hw/amdgpu/shader/include/amdgpu/shader/ConverterContext.hpp +++ b/hw/amdgpu/shader/include/amdgpu/shader/ConverterContext.hpp @@ -167,6 +167,9 @@ public: return spirv::cast(getType(TypeId::SInt64)); } + spirv::FloatType getFloat16Type() { + return spirv::cast(getType(TypeId::Float16)); + } spirv::FloatType getFloat32Type() { return spirv::cast(getType(TypeId::Float32)); }