info->uses_primid = 1;
break;
case nir_intrinsic_bindless_image_load:
- info->uses_bindless_images = true;
-
if (nir_intrinsic_image_dim(intr) == GLSL_SAMPLER_DIM_BUF)
info->uses_bindless_buffer_load = true;
else
info->uses_bindless_image_load = true;
break;
- case nir_intrinsic_bindless_image_size:
- case nir_intrinsic_bindless_image_samples:
- info->uses_bindless_images = true;
- break;
case nir_intrinsic_bindless_image_store:
- info->uses_bindless_images = true;
-
if (nir_intrinsic_image_dim(intr) == GLSL_SAMPLER_DIM_BUF)
info->uses_bindless_buffer_store = true;
else
break;
case nir_intrinsic_bindless_image_atomic:
case nir_intrinsic_bindless_image_atomic_swap:
- info->uses_bindless_images = true;
-
if (nir_intrinsic_image_dim(intr) == GLSL_SAMPLER_DIM_BUF)
info->uses_bindless_buffer_atomic = true;
else
case TGSI_OPCODE_ENDLOOP:
(*current_depth)--;
break;
- case TGSI_OPCODE_RESQ:
- if (tgsi_is_bindless_image_file(fullinst->Src[0].Register.File))
- info->uses_bindless_images = true;
- break;
case TGSI_OPCODE_LOAD:
if (tgsi_is_bindless_image_file(fullinst->Src[0].Register.File)) {
- info->uses_bindless_images = true;
-
if (fullinst->Memory.Texture == TGSI_TEXTURE_BUFFER)
info->uses_bindless_buffer_load = true;
else
case TGSI_OPCODE_ATOMINC_WRAP:
case TGSI_OPCODE_ATOMDEC_WRAP:
if (tgsi_is_bindless_image_file(fullinst->Src[0].Register.File)) {
- info->uses_bindless_images = true;
-
if (fullinst->Memory.Texture == TGSI_TEXTURE_BUFFER)
info->uses_bindless_buffer_atomic = true;
else
break;
case TGSI_OPCODE_STORE:
if (tgsi_is_bindless_image_file(fullinst->Dst[0].Register.File)) {
- info->uses_bindless_images = true;
-
if (fullinst->Memory.Texture == TGSI_TEXTURE_BUFFER)
info->uses_bindless_buffer_store = true;
else
bool writes_viewport_index;
bool writes_layer;
bool writes_memory; /**< contains stores or atomics to buffers or images */
- bool uses_bindless_images;
bool uses_fbfetch;
unsigned clipdist_writemask;
unsigned culldist_writemask;