This repository was archived by the owner on Jul 25, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,9 @@ struct CatmullSplineData {
1313// FIXME: I'm not actually sure this can even compile on mobile platforms. We need to double check.
1414// Thoeretically there's no reason to use dynamic buffers like this (we should have static spline counts anyway).
1515// But this was the most convienient way I could think of for the programming side of things.
16- #if !defined (SHADER_API_D3D11_9X)
16+ #pragma target 5.0
17+
18+ #ifdef SHADER_API_D3D11
1719StructuredBuffer<CatmullSplineData> _CatmullSplines;
1820#else
1921CatmullSplineData _CatmullSplines[4 ];
@@ -218,7 +220,7 @@ struct PenetratorData {
218220 int holeSubCurveCount;
219221};
220222
221- #if ! defined (SHADER_API_D3D11_9X)
223+ #ifdef SHADER_API_D3D11
222224StructuredBuffer<PenetratorData> _PenetratorData;
223225#else
224226PenetratorData _PenetratorData[4 ];
Original file line number Diff line number Diff line change 11{
22 "name" : " com.naelstrof.penetrationtech" ,
33 "displayName" : " Penetration Tech" ,
4- "version" : " 3.5.8 " ,
4+ "version" : " 3.5.9 " ,
55 "unity" : " 2020.3" ,
66 "comment" : " You can install serialized-reference-ui from this git url: https://github.com/TextusGames/UnitySerializedReferenceUI.git" ,
77 "dependencies" : {
You can’t perform that action at this time.
0 commit comments