Searched refs:aafs (Results 1 – 2 of 2) sorted by relevance
643 struct aaline_fragment_shader *aafs = NULL; in aaline_create_fs_state() local648 aafs = CALLOC_STRUCT(aaline_fragment_shader); in aaline_create_fs_state()650 if (!aafs) in aaline_create_fs_state()653 aafs->state.type = fs->type; in aaline_create_fs_state()655 aafs->state.tokens = tgsi_dup_tokens(fs->tokens); in aaline_create_fs_state()658 aafs->state.ir.nir = nir_shader_clone(NULL, fs->ir.nir); in aaline_create_fs_state()662 aafs->driver_fs = aaline->driver_create_fs_state(pipe, fs); in aaline_create_fs_state()664 return aafs; in aaline_create_fs_state()672 struct aaline_fragment_shader *aafs = (struct aaline_fragment_shader *) fs; in aaline_bind_fs_state() local679 aaline->fs = aafs; in aaline_bind_fs_state()[all …]
744 struct aapoint_fragment_shader *aafs = CALLOC_STRUCT(aapoint_fragment_shader); in aapoint_create_fs_state() local745 if (!aafs) in aapoint_create_fs_state()748 aafs->state.type = fs->type; in aapoint_create_fs_state()750 aafs->state.tokens = tgsi_dup_tokens(fs->tokens); in aapoint_create_fs_state()753 aafs->state.ir.nir = nir_shader_clone(NULL, fs->ir.nir); in aapoint_create_fs_state()756 aafs->driver_fs = aapoint->driver_create_fs_state(pipe, fs); in aapoint_create_fs_state()758 return aafs; in aapoint_create_fs_state()766 struct aapoint_fragment_shader *aafs = (struct aapoint_fragment_shader *) fs; in aapoint_bind_fs_state() local768 aapoint->fs = aafs; in aapoint_bind_fs_state()771 (aafs ? aafs->driver_fs : NULL)); in aapoint_bind_fs_state()[all …]