diff options
| author | Yong He <yonghe@outlook.com> | 2023-05-02 20:29:38 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-02 20:29:38 -0700 |
| commit | d52376a65f37fcbbb67428b917fd3819436b6dfb (patch) | |
| tree | da25b3c9a00bd003b1970b4a6c4eb38eccf62aa1 /tests/vkray/intersection.slang.glsl | |
| parent | 55291b0bf6d729fcbaf75a01926da7da8975b8e9 (diff) | |
Various dxc/fxc compatibility fixes. (#2863)
* Various dxc/fxc compatibility fixes.
* Cleanup.
* Fix test cases.
* Fix comments.
---------
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'tests/vkray/intersection.slang.glsl')
| -rw-r--r-- | tests/vkray/intersection.slang.glsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/vkray/intersection.slang.glsl b/tests/vkray/intersection.slang.glsl index ac95432dd..1a08401af 100644 --- a/tests/vkray/intersection.slang.glsl +++ b/tests/vkray/intersection.slang.glsl @@ -17,7 +17,7 @@ struct SLANG_ParameterGroup_U_0 layout(binding = 0) layout(std140) uniform _S1 { - SLANG_ParameterGroup_U_0 _data; + Sphere_0 gSphere_0; } U_0; struct RayDesc_0 { @@ -62,7 +62,7 @@ void main() ray_1.TMax_0 = _S6; float tHit_2; SphereHitAttributes_0 attrs_1; - bool _S7 = rayIntersectsSphere_0(ray_1, U_0._data.gSphere_0, tHit_2, attrs_1); + bool _S7 = rayIntersectsSphere_0(ray_1, U_0.gSphere_0, tHit_2, attrs_1); if(_S7) { bool _S8 = ReportHit_0(tHit_2, uint(0), attrs_1); |
