rt: use a bit more reasonable compute groups

doesn't really affect perf tho
This commit is contained in:
Ivan Avdeev 2022-01-12 22:39:09 -08:00
parent f4c56ead54
commit e4ade833e8
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
#include "utils.glsl"
layout(local_size_x = 16, local_size_y = 8, local_size_z = 1) in;
layout(local_size_x = 8, local_size_y = 8, local_size_z = 1) in;
#include "ray_light_direct_iface.h"

View File

@ -164,7 +164,7 @@ void XVK_RayTraceLightDirectReloadPipeline( void ) {
}
void XVK_RayTraceLightDirect( VkCommandBuffer cmdbuf, const xvk_ray_trace_light_direct_t *args ) {
const uint32_t WG_W = 16;
const uint32_t WG_W = 8;
const uint32_t WG_H = 8;
updateDescriptors( args );