Lines Matching refs:sysval
3463 uint32_t sysval = shader->system_values[i]; in upload_sysvals() local
3466 if (BRW_PARAM_DOMAIN(sysval) == BRW_PARAM_DOMAIN_IMAGE) { in upload_sysvals()
3468 unsigned img = BRW_PARAM_IMAGE_IDX(sysval); in upload_sysvals()
3469 unsigned offset = BRW_PARAM_IMAGE_OFFSET(sysval); in upload_sysvals()
3476 } else if (sysval == BRW_PARAM_BUILTIN_ZERO) { in upload_sysvals()
3478 } else if (BRW_PARAM_BUILTIN_IS_CLIP_PLANE(sysval)) { in upload_sysvals()
3479 int plane = BRW_PARAM_BUILTIN_CLIP_PLANE_IDX(sysval); in upload_sysvals()
3480 int comp = BRW_PARAM_BUILTIN_CLIP_PLANE_COMP(sysval); in upload_sysvals()
3482 } else if (sysval == BRW_PARAM_BUILTIN_PATCH_VERTICES_IN) { in upload_sysvals()
3494 } else if (sysval >= BRW_PARAM_BUILTIN_TESS_LEVEL_OUTER_X && in upload_sysvals()
3495 sysval <= BRW_PARAM_BUILTIN_TESS_LEVEL_OUTER_W) { in upload_sysvals()
3496 unsigned i = sysval - BRW_PARAM_BUILTIN_TESS_LEVEL_OUTER_X; in upload_sysvals()
3498 } else if (sysval == BRW_PARAM_BUILTIN_TESS_LEVEL_INNER_X) { in upload_sysvals()
3500 } else if (sysval == BRW_PARAM_BUILTIN_TESS_LEVEL_INNER_Y) { in upload_sysvals()
3502 } else if (sysval >= BRW_PARAM_BUILTIN_WORK_GROUP_SIZE_X && in upload_sysvals()
3503 sysval <= BRW_PARAM_BUILTIN_WORK_GROUP_SIZE_Z) { in upload_sysvals()
3504 unsigned i = sysval - BRW_PARAM_BUILTIN_WORK_GROUP_SIZE_X; in upload_sysvals()
3506 } else if (sysval == BRW_PARAM_BUILTIN_WORK_DIM) { in upload_sysvals()