Lines Matching refs:sysval
3286 uint32_t sysval = shader->system_values[i]; in upload_sysvals() local
3289 if (BRW_PARAM_DOMAIN(sysval) == BRW_PARAM_DOMAIN_IMAGE) { in upload_sysvals()
3291 unsigned img = BRW_PARAM_IMAGE_IDX(sysval); in upload_sysvals()
3292 unsigned offset = BRW_PARAM_IMAGE_OFFSET(sysval); in upload_sysvals()
3299 } else if (sysval == BRW_PARAM_BUILTIN_ZERO) { in upload_sysvals()
3301 } else if (BRW_PARAM_BUILTIN_IS_CLIP_PLANE(sysval)) { in upload_sysvals()
3302 int plane = BRW_PARAM_BUILTIN_CLIP_PLANE_IDX(sysval); in upload_sysvals()
3303 int comp = BRW_PARAM_BUILTIN_CLIP_PLANE_COMP(sysval); in upload_sysvals()
3305 } else if (sysval == BRW_PARAM_BUILTIN_PATCH_VERTICES_IN) { in upload_sysvals()
3317 } else if (sysval >= BRW_PARAM_BUILTIN_TESS_LEVEL_OUTER_X && in upload_sysvals()
3318 sysval <= BRW_PARAM_BUILTIN_TESS_LEVEL_OUTER_W) { in upload_sysvals()
3319 unsigned i = sysval - BRW_PARAM_BUILTIN_TESS_LEVEL_OUTER_X; in upload_sysvals()
3321 } else if (sysval == BRW_PARAM_BUILTIN_TESS_LEVEL_INNER_X) { in upload_sysvals()
3323 } else if (sysval == BRW_PARAM_BUILTIN_TESS_LEVEL_INNER_Y) { in upload_sysvals()
3325 } else if (sysval >= BRW_PARAM_BUILTIN_WORK_GROUP_SIZE_X && in upload_sysvals()
3326 sysval <= BRW_PARAM_BUILTIN_WORK_GROUP_SIZE_Z) { in upload_sysvals()
3327 unsigned i = sysval - BRW_PARAM_BUILTIN_WORK_GROUP_SIZE_X; in upload_sysvals()
3329 } else if (sysval == BRW_PARAM_BUILTIN_WORK_DIM) { in upload_sysvals()