Home
last modified time | relevance | path

Searched refs:aafs (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_aapoint.c709 struct aapoint_fragment_shader *aafs = CALLOC_STRUCT(aapoint_fragment_shader); in aapoint_create_fs_state() local
710 if (!aafs) in aapoint_create_fs_state()
713 aafs->state.tokens = tgsi_dup_tokens(fs->tokens); in aapoint_create_fs_state()
716 aafs->driver_fs = aapoint->driver_create_fs_state(pipe, fs); in aapoint_create_fs_state()
718 return aafs; in aapoint_create_fs_state()
726 struct aapoint_fragment_shader *aafs = (struct aapoint_fragment_shader *) fs; in aapoint_bind_fs_state() local
728 aapoint->fs = aafs; in aapoint_bind_fs_state()
731 (aafs ? aafs->driver_fs : NULL)); in aapoint_bind_fs_state()
739 struct aapoint_fragment_shader *aafs = (struct aapoint_fragment_shader *) fs; in aapoint_delete_fs_state() local
742 aapoint->driver_delete_fs_state(pipe, aafs->driver_fs); in aapoint_delete_fs_state()
[all …]
Ddraw_pipe_aaline.c828 struct aaline_fragment_shader *aafs = NULL; in aaline_create_fs_state() local
833 aafs = CALLOC_STRUCT(aaline_fragment_shader); in aaline_create_fs_state()
835 if (!aafs) in aaline_create_fs_state()
838 aafs->state.tokens = tgsi_dup_tokens(fs->tokens); in aaline_create_fs_state()
841 aafs->driver_fs = aaline->driver_create_fs_state(pipe, fs); in aaline_create_fs_state()
843 return aafs; in aaline_create_fs_state()
851 struct aaline_fragment_shader *aafs = (struct aaline_fragment_shader *) fs; in aaline_bind_fs_state() local
858 aaline->fs = aafs; in aaline_bind_fs_state()
860 aaline->driver_bind_fs_state(pipe, (aafs ? aafs->driver_fs : NULL)); in aaline_bind_fs_state()
868 struct aaline_fragment_shader *aafs = (struct aaline_fragment_shader *) fs; in aaline_delete_fs_state() local
[all …]