particle system sorting fix
This commit is contained in:
@@ -62,7 +62,6 @@ CBUFFER(SortConstants, 0)
|
||||
{
|
||||
int4 job_params;
|
||||
};
|
||||
#define SORT_SIZE 512
|
||||
|
||||
#define THREADCOUNT_EMIT 256
|
||||
#define THREADCOUNT_SIMULATION 256
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
|
||||
#include "ShaderInterop_EmittedParticle.h"
|
||||
|
||||
#define SORT_SIZE 4096
|
||||
|
||||
#if( SORT_SIZE>4096 )
|
||||
// won't work for arrays>4096
|
||||
#error due to LDS size SORT_SIZE must be 4096 or smaller
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
|
||||
#include "ShaderInterop_EmittedParticle.h"
|
||||
|
||||
#define SORT_SIZE 2048
|
||||
|
||||
#if( SORT_SIZE>2048 )
|
||||
#error
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user