File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -252,7 +252,7 @@ core::smart_refctd_ptr<video::IGPUSpecializedShader> FFT::createKernelNormalizat
252
252
const char * sourceFmt =
253
253
R"===( #version 430 core
254
254
255
- layout(local_size_x=%u , local_size_y=1, local_size_z=1) in;
255
+ layout(local_size_x=256 , local_size_y=1, local_size_z=1) in;
256
256
257
257
struct nbl_glsl_ext_FFT_output_t
258
258
{
@@ -277,12 +277,11 @@ void main()
277
277
}
278
278
)===" ;
279
279
280
- const size_t extraSize = 32 ;
280
+ const size_t extraSize = 0 ;
281
281
282
282
auto shader = core::make_smart_refctd_ptr<ICPUBuffer>(strlen (sourceFmt)+extraSize+1u );
283
283
snprintf (
284
- reinterpret_cast <char *>(shader->getPointer ()),shader->getSize (), sourceFmt,
285
- DEFAULT_WORK_GROUP_X_DIM
284
+ reinterpret_cast <char *>(shader->getPointer ()),shader->getSize (), sourceFmt
286
285
);
287
286
288
287
auto cpuSpecializedShader = core::make_smart_refctd_ptr<ICPUSpecializedShader>(
You can’t perform that action at this time.
0 commit comments