15 float u =
float((encoded_uv >> 16) & 0xFFFFu) / 65535.0f;
16 float v =
float(encoded_uv & 0xFFFFu) / 65535.0f;
23 return (i & 0x1u) != 0;
29 return (i & 0x2u) != 0;
35 return (i >> 2) & 0x3FFFFFFFu;
38#define ORIGINDEX_NONE -1
46 return global_id.x + global_id.y * invocations_per_row;
57 uint coarse_face_count)
const
60 uint last = coarse_face_count;
62 while (first != last) {
63 uint middle = (first + last) / 2;
#define SHADER_DATA_BUF_SLOT
#define SUBDIV_GROUP_SIZE
#define SUBDIV_FACE_OFFSET_BUF_SLOT
#define storage(slot, qualifiers)
VecBase< uint32_t, 3 > uint3
KERNEL_FEATURE_LIGHT_PASSES KERNEL_FEATURE_PATH_GUIDING float
uint coarse_face_index_from_subdiv_quad_index(uint subdiv_quad_index, uint coarse_face_count) const
uint(& subdiv_face_offset)[]
const DRWSubdivUboStorage shader_data
uint get_global_invocation_index(const uint3 global_id, const uint3 num_work_groups) const
float2 decode_uv(uint encoded_uv)