Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_aaline.c627 struct aaline_fragment_shader *aafs = NULL; in aaline_create_fs_state() local
632 aafs = CALLOC_STRUCT(aaline_fragment_shader); in aaline_create_fs_state()
634 if (!aafs) in aaline_create_fs_state()
637 aafs->state.type = fs->type; in aaline_create_fs_state()
639 aafs->state.tokens = tgsi_dup_tokens(fs->tokens); in aaline_create_fs_state()
641 aafs->state.ir.nir = nir_shader_clone(NULL, fs->ir.nir); in aaline_create_fs_state()
644 aafs->driver_fs = aaline->driver_create_fs_state(pipe, fs); in aaline_create_fs_state()
646 return aafs; in aaline_create_fs_state()
654 struct aaline_fragment_shader *aafs = (struct aaline_fragment_shader *) fs; in aaline_bind_fs_state() local
661 aaline->fs = aafs; in aaline_bind_fs_state()
[all …]
Ddraw_pipe_aapoint.c739 struct aapoint_fragment_shader *aafs = CALLOC_STRUCT(aapoint_fragment_shader); in aapoint_create_fs_state() local
740 if (!aafs) in aapoint_create_fs_state()
743 aafs->state.type = fs->type; in aapoint_create_fs_state()
745 aafs->state.tokens = tgsi_dup_tokens(fs->tokens); in aapoint_create_fs_state()
747 aafs->state.ir.nir = nir_shader_clone(NULL, fs->ir.nir); in aapoint_create_fs_state()
749 aafs->driver_fs = aapoint->driver_create_fs_state(pipe, fs); in aapoint_create_fs_state()
751 return aafs; in aapoint_create_fs_state()
759 struct aapoint_fragment_shader *aafs = (struct aapoint_fragment_shader *) fs; in aapoint_bind_fs_state() local
761 aapoint->fs = aafs; in aapoint_bind_fs_state()
764 (aafs ? aafs->driver_fs : NULL)); in aapoint_bind_fs_state()
[all …]