File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ namespace RadeonRays
121
121
{
122
122
if (m_intersector_string != " fatbvh" )
123
123
{
124
- #if 0 // TODO: my hack (gboisse)
124
+ #if 0
125
125
m_intersector.reset(new IntersectorShortStack(m_device.get()));
126
126
m_intersector_string = "fatbvh";
127
127
#else
Original file line number Diff line number Diff line change @@ -163,10 +163,12 @@ namespace RadeonRays
163
163
int num_bins = (nbins ? static_cast <int >(nbins->AsFloat ()) : 64 );
164
164
float traversal_cost = (tcost ? tcost->AsFloat () : 10 .0f );
165
165
166
+ #if 0
166
167
if (type && type->AsString() == "qbvh")
167
168
{
168
169
use_qbvh = true;
169
170
}
171
+ #endif
170
172
171
173
if (builder && builder->AsString () == " sah" )
172
174
{
Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ void intersect_main()
186
186
// Handle only working subset
187
187
if (index >= Numrays) return;
188
188
189
- ray myRay = Rays[index]; // TODO: VK:- SC SPIR-V module not valid: OpStore Pointer <id> '136's type does not match Object <id> '137's type. (gboisse)
189
+ ray myRay = Rays[index];
190
190
vec3 invDir = safe_invdir(myRay.d.xyz);
191
191
vec3 oxInvDir = -myRay.o.xyz * invDir;
192
192
@@ -289,7 +289,6 @@ void intersect_main()
289
289
}
290
290
}
291
291
292
- // TODO: what, why?!? (gboisse)
293
292
Intersection isect;
294
293
isect.padding.x = 667;
295
294
isect.padding.y = isect.padding.x;
You can’t perform that action at this time.
0 commit comments