vsytch
fa363ae721
Device texture functions should not normalize the sampled pixel ( #1826 )
...
* Device texture functions should not normalize the sampled pixel. This is already done by HW.
* Add support to use h/w capability for normalized float data convertion for driver API's
Co-authored-by: ansurya <50609411+ansurya@users.noreply.github.com >
2020-02-05 20:56:17 +05:30
Maneesh Gupta
c091635f5a
Revert PRs that break ROCm builds ( #1781 )
...
Fixes SWDEV-218626 and SWDEV-218629
Changes:
- Revert "`static inline` in a header, just like excess sugar in a diet, causes bloat (#1692 )"
This reverts commit cf526f5484 .
- Revert "Fix rocFFT build failure (#1777 )"
This reverts commit cbd8f604ec .
2020-01-08 15:11:58 +05:30
Maneesh Gupta
32625638da
replace array designator C99 ( #1694 )
...
* replace array designator C99
* Update texture_functions.h
Highlight valid and invalid values in texFormatToSize
Co-authored-by: Maneesh Gupta <maneesh.gupta@amd.com >
2019-12-23 19:10:24 +05:30
Alex Voicu
cf526f5484
static inline in a header, just like excess sugar in a diet, causes bloat (#1692 )
2019-12-23 19:09:38 +05:30
Maneesh Gupta
6c7ce07577
Update texture_functions.h
...
Highlight valid and invalid values in texFormatToSize
2019-12-21 12:25:36 +05:30
Anusha Godavarthy Surya
bc79c5636b
replace array designator C99
2019-11-25 16:51:49 +05:30
ansurya
849b5ef6af
UChar and UShort textures as Normalized Float ( #1213 )
...
* UChar and UShort textures as Normalized Float
* UChar and UShort textures as Normalized Float for all float variants
* Handled uninitilaized texture format value
2019-07-18 03:18:28 +00:00
Aaron Enye Shi
eec46be762
Fix texture using constant addrspace 4
2019-02-12 16:56:22 +00:00
Laurent Morichetti
167bbffc4f
Fix compilation issues with MSVC
2019-01-09 09:32:50 -08:00
Aaron Enye Shi
e42af991d1
Protect macro TYPEDEF_VECTOR_VALUE_TYPE and prefix __hip_ for vector_value_types
2018-07-30 20:41:24 +00:00
Aaron Enye Shi
ff1e49d191
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
bf6fdca1e8
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
fa370fcf19
Revert "Revert "Switch over to using native vector types, for better codegen. Remove noise.""
...
This reverts commit d137271083 .
2018-06-16 22:59:36 +01:00
Siu Chi Chan
d137271083
Revert "Switch over to using native vector types, for better codegen. Remove noise."
2018-06-08 16:48:22 -04:00
Alex Voicu
fcce9f5337
Switch over to using native vector types, for better codegen. Remove noise.
2018-05-12 00:14:17 +01:00
Rahul Garg
a898ccfb3f
Resolve tex1D float to int conversion issue
2018-04-18 14:15:18 +05:30
Siu Chi Chan
5df923cdfa
adjust the hcc work week for the texture fix
2018-04-06 15:46:55 -04:00
Siu Chi Chan
53d9cce9f9
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
9e47fccc89
Apply .clangformat to all repo source files
...
Change-Id: I7e79c6058f0303f9a98911e3b7dd2e8596079344
2018-03-12 11:29:03 +05:30
Rahul Garg
1851c153f6
Texture driver APIs support
2017-11-09 22:10:55 +05:30
Weixing Zhang
ccbd3b13fc
HIP Texture Support
2017-07-17 15:16:12 -04:00