Lines Matching refs:constants
123 setup->constants.stored_size = 0; in lp_setup_reset()
124 setup->constants.stored_data = NULL; in lp_setup_reset()
551 pipe_resource_reference(&setup->constants.current, buffer); in lp_setup_set_fs_constants()
806 struct pipe_resource *buffer = setup->constants.current; in try_update_scene_state()
814 if(setup->constants.stored_size != current_size || in try_update_scene_state()
815 !setup->constants.stored_data || in try_update_scene_state()
816 memcmp(setup->constants.stored_data, in try_update_scene_state()
830 setup->constants.stored_size = current_size; in try_update_scene_state()
831 setup->constants.stored_data = stored; in try_update_scene_state()
835 setup->constants.stored_size = 0; in try_update_scene_state()
836 setup->constants.stored_data = NULL; in try_update_scene_state()
839 setup->fs.current.jit_context.constants = setup->constants.stored_data; in try_update_scene_state()
986 pipe_resource_reference(&setup->constants.current, NULL); in lp_setup_destroy()