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_aaline.c643 struct aaline_fragment_shader *aafs = NULL; in aaline_create_fs_state() local
648 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() local
679 aaline->fs = aafs; in aaline_bind_fs_state()
[all …]
Ddraw_pipe_aapoint.c744 struct aapoint_fragment_shader *aafs = CALLOC_STRUCT(aapoint_fragment_shader); in aapoint_create_fs_state() local
745 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() local
768 aapoint->fs = aafs; in aapoint_bind_fs_state()
771 (aafs ? aafs->driver_fs : NULL)); in aapoint_bind_fs_state()
[all …]