diff --git a/packs/dx11.particles/girlpower/Examples/Lines/LinesByLayerEmitter.v4p b/packs/dx11.particles/girlpower/Examples/Lines/LinesByLayerEmitter.v4p index ee1d86f..c7b1c2e 100644 --- a/packs/dx11.particles/girlpower/Examples/Lines/LinesByLayerEmitter.v4p +++ b/packs/dx11.particles/girlpower/Examples/Lines/LinesByLayerEmitter.v4p @@ -1,5 +1,5 @@ - + @@ -409,7 +409,7 @@ - + diff --git a/packs/dx11.particles/girlpower/Examples/Lines/modules/GenerateLinedata/GenerateLinedata.v4p b/packs/dx11.particles/girlpower/Examples/Lines/modules/GenerateLinedata/GenerateLinedata.v4p index 3a4c891..b19b928 100644 --- a/packs/dx11.particles/girlpower/Examples/Lines/modules/GenerateLinedata/GenerateLinedata.v4p +++ b/packs/dx11.particles/girlpower/Examples/Lines/modules/GenerateLinedata/GenerateLinedata.v4p @@ -1,5 +1,5 @@ - + @@ -50,7 +50,7 @@ - + @@ -167,9 +167,9 @@ - + - + @@ -179,9 +179,9 @@ - + - + @@ -213,9 +213,9 @@ - + - + @@ -283,9 +283,9 @@ - + - + @@ -303,9 +303,9 @@ - + - + @@ -325,9 +325,9 @@ - + - + @@ -341,9 +341,9 @@ - + - + @@ -357,9 +357,9 @@ - + - + @@ -377,7 +377,7 @@ - + @@ -385,7 +385,7 @@ - + @@ -397,15 +397,15 @@ - + - + - + - + @@ -413,9 +413,9 @@ - + - + @@ -427,9 +427,9 @@ - + - + @@ -464,82 +464,10 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + @@ -551,7 +479,7 @@ - + @@ -563,13 +491,13 @@ - + - + @@ -579,7 +507,7 @@ - + @@ -589,9 +517,9 @@ - + - + @@ -615,9 +543,9 @@ - + - + @@ -641,9 +569,9 @@ - + - + @@ -655,47 +583,17 @@ - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -707,7 +605,7 @@ - + @@ -726,34 +624,58 @@ - - - - - - - + - + - - + + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packs/dx11.particles/girlpower/Examples/Lines/modules/GenerateLinedata/dx11/GenerateLinedata.fx b/packs/dx11.particles/girlpower/Examples/Lines/modules/GenerateLinedata/dx11/GenerateLinedata.fx index ffe690f..b85da74 100644 --- a/packs/dx11.particles/girlpower/Examples/Lines/modules/GenerateLinedata/dx11/GenerateLinedata.fx +++ b/packs/dx11.particles/girlpower/Examples/Lines/modules/GenerateLinedata/dx11/GenerateLinedata.fx @@ -36,13 +36,6 @@ void CS_LinearizeIds(csin input) IndexBuffer[linearId] = id + 1; } -[numthreads(XTHREADS, YTHREADS, ZTHREADS)] -void CS_ClearFromTo(csin input) -{ - FromBuffer[input.DTID.x] = float3(0,0,0); - ToBuffer[input.DTID.x] = float3(0,0,0); -} - [numthreads(XTHREADS, YTHREADS, ZTHREADS)] void CS_SetFromTo(csin input) { @@ -63,5 +56,4 @@ void CS_SetFromTo(csin input) technique11 ClearIds { pass P0{SetComputeShader( CompileShader( cs_5_0, CS_ClearIds() ) );} } technique11 LinearizeIds { pass P0{SetComputeShader( CompileShader( cs_5_0, CS_LinearizeIds() ) );} } -technique11 ClearFromTo { pass P0{SetComputeShader( CompileShader( cs_5_0, CS_ClearFromTo() ) );} } technique11 SetFromTo { pass P0{SetComputeShader( CompileShader( cs_5_0, CS_SetFromTo() ) );} }