File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -49,8 +49,6 @@ struct DrawBuffersFiller
49
49
50
50
void allocateStylesBuffer (ILogicalDevice* logicalDevice, uint32_t lineStylesCount);
51
51
52
- void allocateCustomClipProjectionBuffer (ILogicalDevice* logicalDevice, uint32_t ClipProjectionDataCount);
53
-
54
52
// ! this function fills buffers required for drawing a polyline and submits a draw through provided callback when there is not enough memory.
55
53
void drawPolyline (const CPolylineBase& polyline, const LineStyleInfo& lineStyleInfo, SIntendedSubmitInfo& intendedNextSubmit);
56
54
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ ClipProjectionData getClipProjectionData(in MainObject mainObj)
30
30
ret.projectionToNDC = vk::RawBufferLoad<float64_t3x3>(mainObj.clipProjectionAddress, 8u);
31
31
ret.minClipNDC = vk::RawBufferLoad<float32_t2>(mainObj.clipProjectionAddress + sizeof (float64_t3x3), 8u);
32
32
ret.maxClipNDC = vk::RawBufferLoad<float32_t2>(mainObj.clipProjectionAddress + sizeof (float64_t3x3) + sizeof (float32_t2), 8u);
33
+ return ret;
33
34
}
34
35
else
35
36
{
@@ -136,9 +137,9 @@ PSInput main(uint vertexID : SV_VertexID)
136
137
double2 points[3u];
137
138
points[0u] = vk::RawBufferLoad<double2 >(drawObj.geometryAddress, 8u);
138
139
points[1u] = vk::RawBufferLoad<double2 >(drawObj.geometryAddress + sizeof (double2 ), 8u);
139
- points[2u] = vk::RawBufferLoad<double2 >(drawObj.geometryAddress + sizeof (double2 ) * 2u, 8u)
140
+ points[2u] = vk::RawBufferLoad<double2 >(drawObj.geometryAddress + sizeof (double2 ) * 2u, 8u);
140
141
141
- const float phaseShift = vk::RawBufferLoad<float >(drawObj.geometryAddress + sizeof (double2 ) * 3u, 8u);
142
+ const float phaseShift = vk::RawBufferLoad<float >(drawObj.geometryAddress + sizeof (double2 ) * 3u, 8u);
142
143
const float patternStretch = vk::RawBufferLoad<float >(drawObj.geometryAddress + sizeof (double2 ) * 3u + sizeof (float ), 8u);
143
144
outV.setCurrentPhaseShift (phaseShift);
144
145
outV.setPatternStretch (patternStretch);
You can’t perform that action at this time.
0 commit comments