unsigned local_size[3];
bool local_size_variable;
+ char user_data_components_amd;
/**
* Size of shared variables accessed by the compute shader.
case TGSI_PROPERTY_CS_FIXED_BLOCK_DEPTH:
s->info.cs.local_size[2] = value;
break;
+ case TGSI_PROPERTY_CS_USER_DATA_COMPONENTS_AMD:
+ s->info.cs.user_data_components_amd = value;
+ break;
default:
if (value) {
fprintf(stderr, "tgsi_to_nir: unhandled TGSI property %u = %u\n",
info->properties[TGSI_PROPERTY_CS_FIXED_BLOCK_WIDTH] = nir->info.cs.local_size[0];
info->properties[TGSI_PROPERTY_CS_FIXED_BLOCK_HEIGHT] = nir->info.cs.local_size[1];
info->properties[TGSI_PROPERTY_CS_FIXED_BLOCK_DEPTH] = nir->info.cs.local_size[2];
+ info->properties[TGSI_PROPERTY_CS_USER_DATA_COMPONENTS_AMD] = nir->info.cs.user_data_components_amd;
}
i = 0;