Commit Graph

14 Commits

Author SHA1 Message Date
Aaron Enye Shi 63b400beea Fix texture using constant addrspace 4 2019-02-12 16:56:22 +00:00
Laurent Morichetti c9f552968d Fix compilation issues with MSVC 2019-01-09 09:32:50 -08:00
Aaron Enye Shi 99e6496898 Protect macro TYPEDEF_VECTOR_VALUE_TYPE and prefix __hip_ for vector_value_types 2018-07-30 20:41:24 +00:00
Aaron Enye Shi e0e785a45d Ensure correct vector value type used in texture
Implement the vector value types in terms of SCALAR_TYPE##SIZE_vector_value_type for float, int, uint and sizes 2, 3, 4, 8, and 16.
2018-07-30 19:43:12 +00:00
Aaron Enye Shi 8c50bcfdab Enable HIP texture functions with HIP vector types
Include texture_functions.h on HIP-Clang path. Use HIP vector types instead of hc::short_vectors for texture_functions, and remove HCC headers.
2018-07-25 19:52:19 +00:00
Alex Voicu 28a1aef8a1 Revert "Revert "Switch over to using native vector types, for better codegen. Remove noise.""
This reverts commit 7a4aace13d.
2018-06-16 22:59:36 +01:00
Siu Chi Chan 7a4aace13d Revert "Switch over to using native vector types, for better codegen. Remove noise." 2018-06-08 16:48:22 -04:00
Alex Voicu b8c98d2357 Switch over to using native vector types, for better codegen. Remove noise. 2018-05-12 00:14:17 +01:00
Rahul Garg ffe18d1505 Resolve tex1D float to int conversion issue 2018-04-18 14:15:18 +05:30
Siu Chi Chan f48e471dd4 adjust the hcc work week for the texture fix 2018-04-06 15:46:55 -04:00
Siu Chi Chan 0d8b97274a Change constant address space to 4
when compiling with a newer hcc.  This is
due to a recent change to address space
mapping in the amdgpu compiler backend.
2018-03-26 18:13:59 -04:00
Maneesh Gupta 1ba06f63c4 Apply .clangformat to all repo source files
Change-Id: I7e79c6058f0303f9a98911e3b7dd2e8596079344
2018-03-12 11:29:03 +05:30
Rahul Garg ef09c4918d Texture driver APIs support 2017-11-09 22:10:55 +05:30
Weixing Zhang e671cec367 HIP Texture Support 2017-07-17 15:16:12 -04:00